Skip to content

Instantly share code, notes, and snippets.

@mseijas
Last active May 17, 2017 16:46
Show Gist options
  • Save mseijas/2635c8e2b36969dc733f7f0816c8c166 to your computer and use it in GitHub Desktop.
Save mseijas/2635c8e2b36969dc733f7f0816c8c166 to your computer and use it in GitHub Desktop.
excluded:
- Carthage
- Pods
disabled_rules:
- force_try
- nesting
- variable_name
- function_parameter_count
- type_name
- large_tuple
- redundant_optional_initialization
- vertical_parameter_alignment
- empty_parentheses_with_trailing_closure
- for_where
- cyclomatic_complexity
opt_in_rules:
- closure_spacing
- redundant_nil_coalescing
- syntactic_sugar
- closure_spacing
- file_header
- first_where
- operator_usage_whitespace
- overridden_super_call
- prohibited_super_call
- switch_case_on_newline
colon:
apply_to_dictionaries: false
force_cast:
warning
line_length:
ignores_urls: true
ignores_function_declarations: true
ignores_comments: true
trailing_whitespace:
ignores_empty_lines: true
ignores_comments: true
variable_name:
min_length: 1
vertical_whitespace:
warning, max_empty_lines: 1
reporter: "xcode"
swiftlint_version: 0.18.1
@mseijas
Copy link
Author

mseijas commented Feb 10, 2017

Specifying swiftlint_version is useful for making sure the CI server config is running the same version as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment