-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.swiftlint.yml
45 lines (38 loc) · 839 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
excluded:
- .build
opt_in_rules:
- closure_end_indentation
- closure_spacing
- conditional_returns_on_newline
- empty_count
- explicit_init
- fatal_error_message
- first_where
- force_unwrapping
- implicit_return
- let_var_whitespace
- multiline_parameters
- nimble_operator
- object_literal
- operator_usage_whitespace
- private_outlet
- redundant_nil_coalescing
- strict_fileprivate
- switch_case_on_newline
- unneeded_parentheses_in_closure_argument
- vertical_parameter_alignment_on_call
disabled_rules:
- force_unwrapping
- force_try
trailing_comma:
mandatory_comma: true
trailing_whitespace:
ignores_empty_lines: true
vertical_whitespace:
max_empty_lines: 3
line_length: 200
function_body_length: 75
cyclomatic_complexity: 20
identifier_name:
min_length:
warning: 1