-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.swiftlint.yml
More file actions
64 lines (55 loc) · 1.06 KB
/
Copy path.swiftlint.yml
File metadata and controls
64 lines (55 loc) · 1.06 KB
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
included:
- Sources
- Tests
excluded:
- Tests/LinuxMain.swift
- .build
- Examples
opt_in_rules:
- empty_count
- empty_string
- conditional_returns_on_newline
- closure_spacing
- contains_over_first_not_nil
- discouraged_optional_boolean
- explicit_init
- fatal_error_message
- first_where
- force_unwrapping
- implicit_return
- implicitly_unwrapped_optional
- joined_default_parameter
- modifier_order
- multiline_parameters
- operator_usage_whitespace
- overridden_super_call
- prohibited_super_call
- sorted_first_last
- trailing_closure
- unneeded_parentheses_in_closure_argument
- vertical_parameter_alignment_on_call
- yoda_condition
disabled_rules:
- identifier_name
- nesting
- function_parameter_count
line_length:
warning: 120
error: 150
ignores_comments: true
file_length:
warning: 500
error: 1200
type_body_length:
warning: 400
error: 600
function_body_length:
warning: 50
error: 100
large_tuple:
warning: 3
error: 5
cyclomatic_complexity:
warning: 10
error: 20
reporter: "xcode"