Created
May 13, 2019 09:21
-
-
Save Jimmy-Prime/0da5b41704d3d01201496c4a30f0858d to your computer and use it in GitHub Desktop.
Basic SwiftLint config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swiftlint_version: 0.32.0 | |
excluded: | |
- Pods/ | |
identifier_name: | |
min_length: 2 | |
line_length: | |
ignores_comments: true | |
warning: 150 | |
disabled_rules: | |
- discarded_notification_center_observer | |
opt_in_rules: | |
- anyobject_protocol | |
- array_init | |
- closure_body_length | |
- closure_end_indentation | |
- closure_spacing | |
- collection_alignment | |
- contains_over_first_not_nil | |
- discouraged_object_literal | |
- duplicate_imports | |
- empty_count | |
- empty_string | |
- explicit_init | |
- fallthrough | |
- fatal_error_message | |
- first_where | |
- identical_operands | |
- implicit_return | |
- last_where | |
- legacy_hashing | |
- legacy_random | |
- literal_expression_end_indentation | |
- modifier_order | |
- multiline_arguments | |
- multiline_arguments_brackets | |
- multiline_function_chains | |
- multiline_literal_brackets | |
- multiline_parameters | |
- multiline_parameters_brackets | |
- nimble_operator | |
- operator_usage_whitespace | |
- overridden_super_call | |
- private_action | |
- private_outlet | |
- redundant_nil_coalescing | |
- redundant_objc_attribute | |
- redundant_type_annotation | |
- required_enum_case | |
- sorted_first_last | |
- sorted_imports | |
- static_operator | |
- strong_iboutlet | |
- switch_case_on_newline | |
- toggle_bool | |
- trailing_closure | |
# - unavailable_function | |
# - unneeded_parentheses_in_closure_argument | |
- untyped_error_in_catch | |
- unused_control_flow_label | |
- unused_import | |
- unused_private_declaration | |
- unused_setter_value | |
- vertical_parameter_alignment_on_call | |
- vertical_whitespace_closing_braces | |
- vertical_whitespace_opening_braces | |
- weak_computed_property | |
- yoda_condition |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment