forked from wikimedia/wikipedia-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
38 lines (37 loc) · 906 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
disabled_rules:
- class_delegate_protocol
- colon
- comma
- compiler_protocol_init
- cyclomatic_complexity
- file_length
- force_cast
- force_try
- for_where
- function_body_length
- function_parameter_count
- identifier_name
- is_disjoint
- large_tuple
- legacy_random
- line_length
- multiple_closures_with_trailing_closure
- nesting
- no_fallthrough_only
- operator_whitespace
- private_over_fileprivate
- redundant_objc_attribute
- redundant_optional_initialization
- redundant_string_enum_value
- shorthand_operator
- todo
- trailing_newline
- trailing_whitespace
- type_body_length
- type_name
- unneeded_break_in_switch
- unused_closure_parameter
- notification_center_detachment
- non_optional_string_data_conversion
vertical_whitespace:
max_empty_lines: 2