-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Integrate swiftlint into Makefile.
- Fix linter warnings - Treat warnings as errors in xcodeproj
- Loading branch information
1 parent
8b6a88c
commit 3f15d21
Showing
19 changed files
with
727 additions
and
674 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 |
---|---|---|
@@ -1,26 +1,22 @@ | ||
disabled_rules: # rule identifiers to exclude from running | ||
- force_cast | ||
- function_body_length | ||
- line_length | ||
- todo | ||
- line_length | ||
- type_body_length | ||
- variable_name | ||
- cyclomatic_complexity | ||
included: # paths to include during linting. `--path` is ignored if present. | ||
- PINModel | ||
excluded: # paths to ignore during linting. | ||
- PINModel/Carthage | ||
- PINModel/CommandKit | ||
- Sources | ||
- Tests | ||
- Utility | ||
|
||
# parameterized rules can be customized from this configuration file | ||
line_length: 110 | ||
line_length: 120 | ||
|
||
# parameterized rules are first parameterized as a warning level, then error level. | ||
type_body_length: | ||
- 300 # warning | ||
- 400 # error | ||
# parameterized rules are first parameterized as a warning level, then error level. | ||
variable_name_max_length: | ||
- 40 # warning | ||
- 60 # error | ||
# parameterized rules are first parameterized as a warning level, then error level. | ||
variable_name_min_length: | ||
- 3 # warning | ||
- 2 # error | ||
|
||
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit, html, emoji) | ||
|
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.