-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.swiftlint.yml
46 lines (43 loc) · 978 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
# Find all the available rules by running:
# swiftlint rules
#
# rule identifiers to exclude from running
disabled_rules:
- valid_docs
- force_try
- todo
- trailing_whitespace
- type_name
- large_tuple
- redundant_optional_initialization
- force_cast
- superfluous_disable_command
- variable_name
- nesting
- cyclomatic_complexity
#- operator_whitespace
#- vertical_whitespace
#- function_parameter_count
#- cyclomatic_complexity
#- type_body_length
#- operator_whitespace
#- colon
#- comma
#- control_statement
# paths to ignore during linting. Takes precedence over `included`.
excluded:
- Carthage
- ReactiveExample
# configurable rules can be customized from this configuration file
line_length:
warning: 300
error: 500
file_length:
warning: 800
error: 1200
type_body_length:
warning: 600
error: 1000
function_body_length:
warning: 100
error: 160