-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.swiftlint.yml
40 lines (36 loc) · 991 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
child_config: .swiftlint_deprecated.yml
disabled_rules: # rule identifiers to exclude from running
- notification_center_detachment
- large_tuple
- blanket_disable_command
- shorthand_operator
- trailing_comma
- force_cast
- identifier_name
- multiple_closures_with_trailing_closure
- cyclomatic_complexity
- function_body_length
- type_body_length
- file_length
- function_parameter_count
- weak_delegate
- xctfail_message
- force_try
- closure_parameter_position
- nesting
- type_name
opt_in_rules: # some rules are only opt-in
- empty_count
- operator_usage_whitespace
- fatal_error_message
- first_where
- modifier_order
line_length:
warning: 140
error: 500
ignores_comments: true
ignores_interpolated_strings: true
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Pods
- NetworkModel
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit, html, emoji, sonarqube, markdown)