Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SwiftLint and fix linter errors (#35)
Cleanup type names, fix line length, add `.swiftlint.yml` and `swiftlint` run to `.travis.yml`. Resolves #24 * Fix linter warnings and errors * Apply SwiftFormat changes * Add swiftlint to .travis.yml * Fix swiftlint Travis homebrew errors * Fix formatting
- Loading branch information
1 parent
2f7b0d6
commit 401de6a
Showing
35 changed files
with
619 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
disabled_rules: | ||
- trailing_comma | ||
- identifier_name | ||
- private_over_fileprivate | ||
- void_return | ||
- operator_whitespace | ||
- function_parameter_count | ||
|
||
line_length: | ||
- 150 | ||
- 200 | ||
|
||
function_body_length: | ||
- 50 | ||
|
||
type_name: | ||
min_length: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.