-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.swiftlint.yml
83 lines (77 loc) · 1.62 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
included:
- Movies
excluded:
- MoviesTests
- MoviesUITests
disabled_rules:
opt_in_rules:
- line_length
- identifier_name
- shorthand_operator
- trailing_whitespace
- missing_docs
- file_length
- private_outlet
- private_action
- cyclomatic_complexity
- type_name
- function_parameter_count
- force_try
- type_body_length
- function_body_length
- static_operator
- object_literal
- force_unwrapping
- anyobject_protocol
- closure_end_indentation
- closure_spacing
- collection_alignment
- contains_over_first_not_nil
- empty_string
- empty_xctest_method
- explicit_init
- fallthrough
- fatal_error_message
- first_where
- identical_operands
- implicit_return
- implicitly_unwrapped_optional
- joined_default_parameter
- let_var_whitespace
- literal_expression_end_indentation
- multiline_arguments
- multiline_literal_brackets
- multiline_parameters
- multiline_parameters_brackets
- nimble_operator
- operator_usage_whitespace
- overridden_super_call
- override_in_extension
- pattern_matching_keywords
- prohibited_super_call
- quick_discouraged_focused_test
- redundant_nil_coalescing
- return_arrow_whitespace
- single_test_class
- sorted_first_last
- switch_case_on_newline
- trailing_closure
- unneeded_parentheses_in_closure_argument
- untyped_error_in_catch
- vertical_parameter_alignment_on_call
- yoda_condition
file_length:
warning: 500
error: 1200
nesting:
type_level:
warning: 3
function_level:
warning: 4
force_cast: warning
force_try:
severity: warning
line_length: 300
type_body_length:
- 300
- 400