-
Notifications
You must be signed in to change notification settings - Fork 15
/
.swiftlint.yml
66 lines (57 loc) · 1.12 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
65
66
# paths to ignore
excluded:
- Carthage
- Pods
- Guides
- fastlane
- vendor
- docs
- scripts
disabled_rules:
- identifier_name
- nesting
- type_name
- trailing_comma
- void_return
opt_in_rules:
# performance
- empty_count
- first_where
- sorted_first_last
- contains_over_first_not_nil
- last_where
# idiomatic
- fatal_error_message
- xctfail_message
- legacy_random
- no_extension_access_modifier
- redundant_type_annotation
- toggle_bool
# style
- number_separator
- operator_usage_whitespace
- sorted_imports
- redundant_objc_attribute
- closure_spacing
- collection_alignment
- modifier_order
- vertical_whitespace_closing_braces
- multiline_arguments
- multiline_parameters
- unneeded_parentheses_in_closure_argument
- explicit_self
# lint
- overridden_super_call
- yoda_condition
- weak_computed_property
- anyobject_protocol
- array_init
- empty_xctest_method
- identical_operands
- prohibited_super_call
- unused_import
- unused_private_declaration
file_length: 650
line_length: 200
type_body_length: 400
function_body_length: 150