Merge pull request #18 from TouchInstinct/fix/rules

Update identifier + parameter count
This commit is contained in:
Igor Kislyuk 2017-09-07 15:29:44 +03:00 committed by GitHub
commit c322fbfcd2
1 changed files with 29 additions and 4 deletions

View File

@ -1,40 +1,65 @@
disabled_rules:
- identifier_name
opt_in_rules:
- private_outlet
- closure_spacing
- closure_end_indentation
- conditional_returns_on_newline
- empty_count
- explicit_init
- extension_access_modifier
- fatal_error_message
- file_header
- first_where
- force_unwrapping
- implicit_return
- let_var_whitespace
- multiline_parameters
- nimble_operator - discuss
- conditional_returns_on_newline
- number_separator
- object_literal
- overridden_super_call
- private_outlet
- prohibited_super_call
- redundant_nil_coalescing
- unneeded_parentheses_in_closure_argument
- vertical_parameter_alignment_on_call
excluded:
- Carthage
- Pods
- Generated
line_length: 128
type_body_length:
- 500 # warning
- 700 # error
file_length:
warning: 500
error: 1200
function_parameter_count:
error: 5
identifier_name:
excluded:
- id
- ok
- URL
- x
- y
- z
warning_threshold: 1
custom_rules: