-
-
Notifications
You must be signed in to change notification settings - Fork 219
/
.swiftlint.yml
77 lines (68 loc) · 1.82 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
70
71
72
73
74
75
76
77
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:
- Pods
- AudioKitSynthOne/Controls/Buttons/ToggleButtonStyleKit.swift
- AudioKitSynthOne/Controls/Buttons/ToggleSwitchStyleKit.swift
- AudioKitSynthOne/Controls/Knobs/ColorKnobStyleKit.swift
- AudioKitSynthOne/Controls/Knobs/KnobStyleKit.swift
- AudioKitSynthOne/Controls/Stepper/StepperStyleKit.swift
- AudioKitSynthOne/Effects/UI Components/LFOButtonStyleKit.swift
- AudioKitSynthOne/Generators/UI Components/StyleKits/
- AudioKitSynthOne/Keyboard/UI Components/BlackKeyStyleKit.swift
- AudioKitSynthOne/Keyboard/UI Components/ModWheelStyleKit.swift
- AudioKitSynthOne/Navigation/NavButtonStyleKit.swift
- AudioKitSynthOne/Sequencer/UI Components/StyleKits/
- AudioKitSynthOne/TouchPad/UI Components/TouchPointStyleKit.swift
- AudioKitSynthOne/Tunings/
opt_in_rules:
- legacy_constructor
- closure_spacing
- closure_end_indentation
- empty_count
- explicit_init
- first_where
- nimble_operator
- number_separator
- operator_usage_whitespace
- overridden_super_call
- 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