disabled_rules:
- trailing_whitespace
- force_cast
opt_in_rules:
- empty_count
- empty_string
excluded:
- Carthage
- Pods
- SwiftLint/Common/3rdPartyLib
line_length:
warning: 500
error: 1000
ignores_function_declarations: true
ignores_comments: true
ignores_urls: true
ignores_interpolated_strings: true
function_body_length:
warning: 300
error: 500
function_parameter_count:
warning: 6
error: 8
type_body_length:
warning: 300
error: 500
file_length:
warning: 1000
error: 1500
ignore_comment_only_lines: true
cyclomatic_complexity:
warning: 25
error: 50
type_name:
min_length: 4 # only warning
max_length: # warning and error
warning: 20
error: 30
excluded: iPhone # excluded via string
variable_name:
min_length: 3
max_length:
warning: 30
error: 35
reporter: "xcode"