-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.swiftlint.yml
59 lines (56 loc) · 928 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
included:
- Volumio
- VolumioTests
excluded:
- Pods
- Volumio/SwiftNotice.swift
- Volumio/QCMethod.swift
opt_in_rules:
- explicit_init
- closure_spacing
- overridden_super_call
- redundant_nil_coalescing
- private_outlet
- nimble_operator
- attributes
- operator_usage_whitespace
- closure_end_indentation
- first_where
- number_separator
- prohibited_super_call
disabled_rules:
- todo
- opening_brace
- vertical_parameter_alignment
force_cast: warning
force_try:
severity: warning
line_length:
warning: 100
#ignores_comments: true
type_body_length:
- 300
- 400
file_length:
warning: 500
error: 1200
type_name:
min_length: 4
max_length:
warning: 40
error: 50
excluded:
variable_name:
min_length:
error: 3
excluded:
- id
- ip
- fn
- to
- Log
- Defaults
- BundleInfo
reporter: "xcode"
number_separator:
minimum_length: 5