-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.swiftlint.yml
More file actions
66 lines (54 loc) · 1.03 KB
/
Copy path.swiftlint.yml
File metadata and controls
66 lines (54 loc) · 1.03 KB
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
# SwiftLint Configuration for SlidingToggleButton
disabled_rules:
- trailing_comma
- identifier_name
opt_in_rules:
- empty_count
- empty_string
- closure_spacing
- contains_over_first_not_nil
- discouraged_object_literal
- explicit_init
- first_where
- modifier_order
- operator_usage_whitespace
- overridden_super_call
- prefer_self_type_over_type_of_self
- redundant_nil_coalescing
- sorted_first_last
- toggle_bool
- unavailable_function
- unneeded_parentheses_in_closure_argument
- vertical_parameter_alignment_on_call
included:
- Sources
- Tests
excluded:
- .build
- Packages
line_length:
warning: 120
error: 150
ignores_comments: true
ignores_urls: true
file_length:
warning: 500
error: 1000
type_body_length:
warning: 300
error: 500
function_body_length:
warning: 50
error: 100
function_parameter_count:
warning: 8
error: 10
cyclomatic_complexity:
warning: 10
error: 20
nesting:
type_level:
warning: 2
function_level:
warning: 3
reporter: xcode