forked from AudioKit/AudioKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
69 lines (60 loc) · 1.22 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
67
68
69
disabled_rules: # rule identifiers to exclude from running
- file_header
- attributes
- cyclomatic_complexity
- type_name
type_body_length:
- 400 # warning
- 4000 # error
function_body_length:
- 400 # warning
- 4000 # error
line_length:
- 120 # warning
- 5000 # error
file_length:
- 400 # warning
- 10000 # error
identifier_name:
min_length:
- 1 # warning
force_cast: warning
empty_count: warning
force_try: warning
cyclomatic_complexity:
- 10 # warning
- 100 # error
excluded:
- dev
- Examples/iOS/AnalogSynthX/AnalogSynthX/Extensions/
- AudioKit/iOS/Audiobus/
- Examples/iOS/Particles/
opt_in_rules:
- legacy_constructor
- closure_spacing
- closure_end_indentation
- conditional_returns_on_newline
- empty_count
- explicit_init
- first_where
- nimble_operator
- number_separator
- operator_usage_whitespace
- overridden_super_call
- private_outlet
- prohibited_super_call
- redundant_nil_coalescing
- switch_case_on_newline
- file_length
- weak_delegate
- force_cast
- object_literal
- line_length
- attributes
- force_unwrapping
- identifier_name
- type_name
- type_body_length
- function_parameter_count
- class_delegate_protocol
- force_try