Guest User

Untitled

a guest
Oct 23rd, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. disabled_rules: # rule identifiers to exclude from running
  2. - trailing_whitespace
  3.  
  4. opt_in_rules: # some rules are only opt-in
  5. - empty_count
  6. - contains_over_first_not_nil
  7. - fatal_error_message
  8. - first_where
  9. - number_separator
  10. - operator_usage_whitespace
  11. - trailing_closure
  12.  
  13. excluded: # paths to ignore during linting. Takes precedence over `included`.
  14. - Pods
  15.  
  16. function_parameter_count:
  17. warning: 3
  18. error: 4
  19.  
  20. line_length:
  21. ignores_function_declarations: true
  22. ignores_comments: true
  23.  
  24. type_body_length:
  25. warning: 300
  26. error: 400
  27.  
  28. file_length:
  29. warning: 500
  30. error: 600
  31.  
  32. large_tuple: # warn user when using 3 values in tuple, give error if there are 4
  33. warning: 3
  34. error: 4
  35.  
  36. # naming rules can set warnings/errors for min_length and max_length
  37. # additionally they can set excluded names
  38. type_name:
  39. min_length: 4 # only warning
  40. max_length: # warning and error
  41. warning: 30
  42. error: 35
  43. excluded: iPhone # excluded via string
  44. reporter: "xcode"
Add Comment
Please, Sign In to add comment