-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding SwiftLint and resolve warnings/errors (#277)
* Update project.pbxproj * Update project.pbxproj * resolving build warnings (wip) * added rules * Revert "resolving build warnings (wip)" This reverts commit 1e4c8e7. * Update .swiftlint.yml * auto corrections * more rules and corrections * update rules and more corrections * reverted some automated changes * resolve merge conflicts * updates to formatting * Update .swiftlint.yml * formatting
- Loading branch information
1 parent
8f9a4f8
commit 8bc2184
Showing
100 changed files
with
1,423 additions
and
1,152 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,39 @@ | ||
disabled_rules: | ||
- nesting | ||
opt_in_rules: | ||
- empty_count | ||
- empty_string | ||
excluded: | ||
- Carthage | ||
- Pods | ||
- SwiftLint/Common/3rdPartyLib | ||
cyclomatic_complexity: | ||
warning: 20 | ||
error: 25 | ||
variable_name: | ||
max_length: | ||
warning: 45 | ||
error: 60 | ||
min_length: | ||
warning: 1 | ||
file_length: | ||
warning: 1000 | ||
error: 1500 | ||
ignore_comment_only_lines: true | ||
function_body_length: | ||
warning: 300 | ||
error: 500 | ||
type_body_length: | ||
warning: 1000 | ||
error: 1500 | ||
line_length: | ||
warning: 100 | ||
error: 130 | ||
ignores_function_declarations: false | ||
ignores_comments: true | ||
ignores_urls: false | ||
force_cast: | ||
warning | ||
force_try: | ||
warning | ||
reporter: "xcode" |
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.