-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
50 lines (47 loc) · 989 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
47
48
49
50
included: # paths to include during linting. `--path` is ignored if present.
- ../Shared
- ../ProductCatalog
- ../Shop
- ../Stock
- MiniShop
excluded:
- Pods
disabled_rules: # rule identifiers to exclude from running
- cyclomatic_complexity
- line_length
- todo
- sorted_imports
- trailing_whitespace
opt_in_rules:
- empty_count
- explicit_init
- closure_spacing
- overridden_super_call
- redundant_nil_coalescing
- private_outlet
- nimble_operator
- attributes
- operator_usage_whitespace
- first_where
- sorted_imports
- number_separator
- prohibited_super_call
- fatal_error_message
- vertical_parameter_alignment_on_call
- let_var_whitespace
- unneeded_parentheses_in_closure_argument
- extension_access_modifier
- pattern_matching_keywords
- array_init
- literal_expression_end_indentation
identifier_name:
excluded:
- id
file_length: 1200
type_body_length: 500
function_body_length: 100
number_separator:
minimum_length: 4
# DISABLED
#- file_header
#- closure_end_indentation