-
-
Notifications
You must be signed in to change notification settings - Fork 121
/
.swiftlint.yml
64 lines (55 loc) · 1.01 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
excluded:
- Frameworks/SwiftyGif
- Carthage/Checkouts
identifier_name:
min_length:
error: 3
max_length:
warning: 50
error: 60
excluded:
- id
type_name:
min_length:
error: 3
max_length:
error: 50
excluded:
- id
- i
type_body_length:
- 600
file_length:
warning: 700
line_length: 140
trailing_whitespace:
ignores_empty_lines: true
cyclomatic_complexity:
warning: 15
opt_in_rules:
- attributes
- closure_end_indentation
- closure_spacing
- explicit_init
- fatal_error_message
- first_where
- object_literal
- operator_usage_whitespace
- operator_whitespace
- overridden_super_call
- prohibited_super_call
- redundant_nil_coalescing
- vertical_parameter_alignment_on_call
- discouraged_object_literal
- sorted_imports
- static_operator
- strong_iboutlet
- switch_case_on_newline
- toggle_bool
disabled_rules:
- force_cast
- colon
- unused_optional_binding
- vertical_parameter_alignment
- force_try
- object_literal