-
Notifications
You must be signed in to change notification settings - Fork 1
/
.swiftlint.yml
59 lines (54 loc) · 1.19 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
disabled_rules:
- trailing_whitespace
- cyclomatic_complexity
- file_length
- identifier_name
analyzer_rules:
- unused_import
- unused_declaration
opt_in_rules:
- array_init
- closure_end_indentation
- closure_spacing
- contains_over_filter_count
- contains_over_filter_is_empty
- convenience_type
- discouraged_object_literal
- discouraged_optional_boolean
- empty_count
- empty_string
- explicit_init
- fatal_error_message
- file_length
- first_where
- force_cast
- force_try
- force_unwrapping
- implicit_return
- implicitly_unwrapped_optional
- joined_default_parameter
- modifier_order
- multiline_parameters
- operator_usage_whitespace
- overridden_super_call
- override_in_extension
- private_action
- private_outlet
- prohibited_super_call
- redundant_nil_coalescing
- redundant_type_annotation
- sorted_first_last
- switch_case_on_newline
- trailing_closure
- unavailable_function
- unneeded_parentheses_in_closure_argument
- vertical_parameter_alignment_on_call
- yoda_condition
line_length: 160
function_body_length: 80
line_length: 180
type_body_length: 300
included:
- Sources
- Tests
reporter: "xcode"