SwiftLint: more manual rules
Enables more manual rules for SwiftLint as part
of the gradual transition to a project adhering
to stricter SwiftLint rules.
Change-Id: Iaa4b263ad13d3404eb6f1fb797af7eace1ec865d
Gitlab: #90
diff --git a/Ring/.swiftlint.yml b/Ring/.swiftlint.yml
index e1fbd1d..30ea3a9 100644
--- a/Ring/.swiftlint.yml
+++ b/Ring/.swiftlint.yml
@@ -20,10 +20,10 @@
- collection_alignment
- identical_operands
- let_var_whitespace
- #- attributes
- #- lower_acl_than_parent
+ - attributes
+ - lower_acl_than_parent
- strict_fileprivate
- #- overridden_super_call
+ - overridden_super_call
#- unowned_variable_capture
excluded: # paths to ignore during linting. Takes precedence over `included`.
@@ -38,7 +38,7 @@
closure_body_length:
- 60 # warning
- - 287 # error
+ - 80 # error
type_body_length:
- 300 # warning