-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.swiftlint.yml
46 lines (42 loc) · 943 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
excluded:
- Test
analyzer_rules:
- unused_import
- unused_declaration
disabled_rules:
- trailing_whitespace
- compiler_protocol_init
- function_parameter_count
- multiple_closures_with_trailing_closure
- cyclomatic_complexity
- file_length
- syntactic_sugar
- unused_capture_list
- blanket_disable_command
- identifier_name
- trailing_comma
opt_in_rules:
- vertical_parameter_alignment_on_call
- empty_count
# configurable rules can be customized from this configuration file
force_cast: warning
opening_brace: error
closing_brace: error
colon:
severity: error
comma: error
empty_enum_arguments: error
function_body_length:
warning: 100
error: 150
line_length:
warning: 140
error: 160
ignores_comments: true
return_arrow_whitespace: error
statement_position:
severity: error
trailing_semicolon: error
vertical_parameter_alignment: error
vertical_parameter_alignment_on_call:
severity: error