Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- disabled_rules: # rule identifiers to exclude from running
- - trailing_whitespace
- opt_in_rules: # some rules are only opt-in
- - empty_count
- - contains_over_first_not_nil
- - fatal_error_message
- - first_where
- - number_separator
- - operator_usage_whitespace
- - trailing_closure
- excluded: # paths to ignore during linting. Takes precedence over `included`.
- - Pods
- function_parameter_count:
- warning: 3
- error: 4
- line_length:
- ignores_function_declarations: true
- ignores_comments: true
- type_body_length:
- warning: 300
- error: 400
- file_length:
- warning: 500
- error: 600
- large_tuple: # warn user when using 3 values in tuple, give error if there are 4
- warning: 3
- error: 4
- # naming rules can set warnings/errors for min_length and max_length
- # additionally they can set excluded names
- type_name:
- min_length: 4 # only warning
- max_length: # warning and error
- warning: 30
- error: 35
- excluded: iPhone # excluded via string
- reporter: "xcode"
Add Comment
Please, Sign In to add comment