This repository has been archived by the owner on Feb 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
107 lines (82 loc) · 1.6 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
whitelist_rules:
- closure_spacing
- colon
- empty_enum_arguments
- legacy_cggeometry_functions
- legacy_constant
- legacy_constructor
- legacy_nsgeometry_functions
- operator_usage_whitespace
- redundant_string_enum_value
- redundant_void_return
- return_arrow_whitespace
- trailing_newline
- type_name
- unused_closure_parameter
- unused_optional_binding
- vertical_whitespace
- void_return
- custom_rules
- fatal_error_message
- implicitly_unwrapped_optional
- trailing_whitespace
- force_try
- force_cast
- force_unwrapping
excluded:
- Audio
- Carthage
- Pods
- script
variable_name:
excluded:
- id
- MinimumUpgradableFoundationVersionNumberKey
- URL
line_length: 256
indentation: 2
type_name:
excluded:
- TAT
- Domain
- NetworkPlatform
force_try:
severity: error
force_cast:
severity: warning
force_unwrapping:
severity: warning
closure_spacing:
severity: error
empty_enum_arguments:
severity: error
legacy_cggeometry_functions:
severity: error
legacy_constant:
severity: error
legacy_constructor:
severity: error
legacy_nsgeometry_functions:
severity: error
operator_usage_whitespace:
severity: error
redundant_string_enum_value:
severity: error
redundant_void_return:
severity: error
return_arrow_whitespace:
severity: error
trailing_newline:
severity: error
unused_closure_parameter:
severity: error
unused_optional_binding:
severity: error
vertical_whitespace:
severity: error
trailing_whitespace:
severity: error
void_return:
severity: error
fatal_error_message:
severity: error