-
Notifications
You must be signed in to change notification settings - Fork 2
/
.swiftlint.yml
64 lines (59 loc) · 1.24 KB
/
.swiftlint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
opt_in_rules:
- anyobject_protocol
- array_init
- attributes
- closure_body_length
- closure_end_indentation
- closure_spacing
- collection_alignment
- contains_over_first_not_nil
- empty_count
- empty_string
- empty_xctest_method
- explicit_init
- fallthrough
- file_header
- first_where
- identical_operands
- joined_default_parameter
- let_var_whitespace
- lower_acl_than_parent
- last_where
- legacy_random
- modifier_order
- operator_usage_whitespace
- overridden_super_call
- pattern_matching_keywords
- private_action
- private_outlet
- prohibited_super_call
- redundant_nil_coalescing
- redundant_type_annotation
- single_test_class
- sorted_first_last
- sorted_imports
- static_operator
- strong_iboutlet
- unneeded_parentheses_in_closure_argument
- untyped_error_in_catch
- unused_import
- unused_private_declaration
- vertical_parameter_alignment_on_call
- void_return
- yoda_condition
disabled_rules:
- identifier_name
- force_try
- line_length
- file_length
- force_cast
- function_body_length
- type_body_length
- xctfail_message
- cyclomatic_complexity
function_parameter_count: 7
empty_count:
severity: warning
nesting:
type_level:
warning: 2