-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.swiftlint.yml
More file actions
46 lines (39 loc) · 929 Bytes
/
.swiftlint.yml
File metadata and controls
46 lines (39 loc) · 929 Bytes
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
# the list of all rules can be found here => https://realm.github.io/SwiftLint/rule-directory.html
line_length: 110
file_length:
warning: 300
error: 320
function_body_length:
warning: 30
error: 40
type_name:
min_length: 3
max_length:
warning: 50
error: 60
nesting:
type_level: 3
severity: error
large_tuple:
error: 2
opt_in_rules:
- custom_rules
- unneeded_parentheses_in_closure_argument
- implicit_return
- let_var_whitespace
- multiline_arguments
- multiline_parameters
- multiline_arguments_brackets
- multiline_literal_brackets
- multiline_parameters_brackets
- multiline_function_chains
- operator_usage_whitespace
- first_where: error
- sorted_first_last: error
- last_where: error
- extension_access_modifier: error
- lower_acl_than_parent: error
- empty_count: error
- closure_spacing: error
- convenience_type: error
- comma: error