-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.swiftlint.yml
61 lines (50 loc) · 924 Bytes
/
.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
warning_threshold: 10
force_cast:
severity: warning
force_try:
severity: warning
empty_count:
severity: warning
file_length:
warning: 400
error: 1000
function_body_length:
warning: 40
error: 100
line_length:
warning: 200
error: 300
ignores_comments: true
ignores_function_declarations: true
identifier_name:
min_length:
error: 0
warning: 2
max_length:
warning: 50
excluded:
- id
disabled_rules:
- trailing_whitespace
opt_in_rules:
- colon
- comma
- closing_brace
- closure_spacing
- empty_count
- closure_end_indentation
- contains_over_first_not_nil
- explicit_init
- multiline_parameters
- object_literal
- overridden_super_call
- switch_case_on_newline
- unneeded_parentheses_in_closure_argument
- vertical_parameter_alignment_on_call
excluded:
- Pods
- Client
- ClientTests
- Interface
- InterfaceTests
- The-NorrisTests