Skip to content

Instantly share code, notes, and snippets.

@Iron-Ham
Created April 13, 2017 03:17
Show Gist options
  • Save Iron-Ham/0910500186d4372f0c0d52ac73ea2110 to your computer and use it in GitHub Desktop.
Save Iron-Ham/0910500186d4372f0c0d52ac73ea2110 to your computer and use it in GitHub Desktop.
opt_in_rules:
- empty_count
- missing_docs
- redundant_nil_coalescing
- switch_case_on_newline
- nimble_operator
- force_unwrapping
- conditional_returns_on_newline
- closure_spacing
included:
- XYZ
excluded:
- XYZTests
- XYZUITests
force_cast: warning
weak_delegate: error
force_try:
severity: warning
line_length: 140
type_body_length:
- 300 # warning
- 400 # error
file_length:
warning: 500
error: 1200
variable_name:
min_length: # only min_length
error: 4
excluded:
- log
- app
- id
- URL
- url
- key
- new
- all
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit, emoji)
missing_docs: public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment