Skip to content

Instantly share code, notes, and snippets.

@stuffmc
Last active February 5, 2018 12:21
Show Gist options
  • Save stuffmc/02512f87a3d4107dc3f6f1d25c2dad77 to your computer and use it in GitHub Desktop.
Save stuffmc/02512f87a3d4107dc3f6f1d25c2dad77 to your computer and use it in GitHub Desktop.
Initial "all disabled" SwiftLint Config File
disabled_rules:
- block_based_kvo
- closing_brace
- colon
- comma
- conditional_binding_cascade
- control_statement
- empty_count
- file_length
- for_where
- force_cast
- force_try
- function_body_length
- leading_whitespace
- legacy_constant
- legacy_constructor
- line_length
- mark
- missing_docs
- nesting
- opening_brace
- operator_whitespace
- return_arrow_whitespace
- statement_position
- todo
- trailing_newline
- trailing_semicolon
- trailing_whitespace
- type_body_length
- type_name
- unused_closure_parameter
- unused_enumerated
- unused_optional_binding
- valid_docs
- variable_name
- variable_name_max_length
- variable_name_min_length
- vertical_parameter_alignment
- vertical_whitespace
@stuffmc
Copy link
Author

stuffmc commented Feb 4, 2018

For my project, it's actually even enough with

disabled_rules:
    - block_based_kvo
    - colon
    - conditional_binding_cascade
    - control_statement
    - for_where
    - force_cast
    - force_try
    - line_length
    - mark
    - opening_brace
    - statement_position
    - trailing_newline
    - trailing_whitespace
    - unused_closure_parameter
    - vertical_parameter_alignment
    - vertical_whitespace

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