-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.swiftlint.yml
59 lines (59 loc) · 1.11 KB
/
.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
51
52
53
54
55
56
57
58
59
opt_in_rules:
- array_init
- attributes
- closure_body_length
- closure_end_indentation
- closure_spacing
- collection_alignment
- contains_over_first_not_nil
- convenience_type
- discouraged_object_literal
- empty_count
- empty_string
- empty_xctest_method
- explicit_init
- fatal_error_message
- first_where
- identical_operands
- implicit_return
- joined_default_parameter
- legacy_random
- let_var_whitespace
- number_separator
- operator_usage_whitespace
- private_action
- private_outlet
- redundant_type_annotation
- sorted_first_last
- sorted_imports
- static_operator
- strict_fileprivate
- toggle_bool
- unavailable_function
- unneeded_parentheses_in_closure_argument
- unused_import
- unused_private_declaration
disabled_rules:
- type_body_length
- file_length
- function_body_length
- function_parameter_count
- nesting
force_cast: warning
force_try:
severity: warning
type_name:
min_length: 2
max_length:
warning: 40
error: 50
identifier_name:
min_length: 2
excluded:
- id
- URL
- x
- y
- i
excluded:
- Pods