File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- included :
2- - Sources
3- - Tests
1+ # Minimal SwiftLint configuration
2+ # SwiftFormat handles all formatting, so SwiftLint focuses on code quality and best practices
43
5- excluded :
6- - .build
7- - .swiftpm
8- - Package.swift
4+ disabled_rules :
5+ - line_length
6+ - opening_brace
7+ - function_parameter_count
8+ - nesting
9+ - large_tuple
10+ - type_name
11+ - force_unwrapping
12+ - blanket_disable_command
13+ - cyclomatic_complexity
914
1015opt_in_rules :
1116 - array_init
12- - block_based_kvo
13- - closure_end_indentation
14- - closure_spacing
1517 - contains_over_first_not_nil
1618 - convenience_type
1719 - discouraged_assert
1820 - discouraged_object_literal
19- - discouraged_optional_boolean
2021 - empty_count
2122 - empty_string
2223 - empty_xctest_method
2324 - explicit_init
24- - extension_access_modifier
2525 - fatal_error_message
26- - file_header
27- - file_length
2826 - first_where
2927 - force_cast
3028 - force_try
31- - force_unwrapping
3229 - implicit_return
3330 - joined_default_parameter
3431 - last_where
3532 - legacy_random
3633 - lower_acl_than_parent
37- - modifier_order
3834 - multiline_function_chains
3935 - multiline_parameters
4036 - multiline_parameters_brackets
4137 - no_fallthrough_only
4238 - operator_usage_whitespace
4339 - overridden_super_call
44- - private_action
45- - private_outlet
46- - private_unit_test
4740 - prohibited_super_call
4841 - redundant_nil_coalescing
4942 - single_test_class
5043 - sorted_first_last
5144 - static_operator
52- - strong_iboutlet
5345 - switch_case_alignment
5446 - trailing_closure
5547 - unavailable_function
5648 - unneeded_parentheses_in_closure_argument
5749 - unused_control_flow_label
58- - vertical_parameter_alignment_on_call
5950 - vertical_whitespace_closing_braces
6051 - xct_specific_matcher
6152 - xctfail_message
6253 - yoda_condition
6354
64- private_outlet :
65- allow_private_set : true
66-
6755multiline_parameters :
6856 allows_single_line : false
57+
58+ excluded :
59+ - .build
60+ - " **/.build"
61+ - DerivedData
62+ - Pods
63+ - Carthage
64+ - .git
65+ - node_modules
You can’t perform that action at this time.
0 commit comments