Skip to content

Commit

Permalink
Merge pull request #3 from hyperoslo/fix/swiftlint
Browse files Browse the repository at this point in the history
Update swiftlint rules
  • Loading branch information
onmyway133 authored Feb 23, 2017
2 parents ea605e3 + 3a1f2d8 commit b7064ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
disabled_rules:
- nesting
- unused_closure_parameter
- closure_parameter_position
- empty_parentheses_with_trailing_closure
- redundant_string_enum_value
opt_in_rules: # some rules are only opt-in
- empty_count
# Find all the available rules by running:
Expand Down Expand Up @@ -32,7 +36,7 @@ file_length:
# naming rules can set warnings/errors for min_length and max_length
# additionally they can set excluded names
type_name:
min_length: 2 # only warning
min_length: 1 # only warning
max_length: # warning and error
warning: 40
error: 50
Expand Down

0 comments on commit b7064ff

Please sign in to comment.