-
Notifications
You must be signed in to change notification settings - Fork 13
/
.swiftlint.yml
51 lines (49 loc) · 1.13 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
only_rules:
- class_delegate_protocol
- compiler_protocol_init
- contains_over_filter_count
- cyclomatic_complexity
- discarded_notification_center_observer
- discouraged_direct_init
- duplicate_enum_cases
- explicit_top_level_acl
- fallthrough
- for_where
- force_cast
- force_try
- generic_type_name
- identical_operands
- inclusive_language
- is_disjoint
- legacy_cggeometry_functions
- legacy_constant
- legacy_constructor
- legacy_hashing
- legacy_multiple
- legacy_nsgeometry_functions
- legacy_random
- missing_docs
- nsobject_prefer_isequal
- override_in_extension
- prefer_self_type_over_type_of_self
- private_unit_test
- prohibited_super_call
- reduce_boolean
- redundant_objc_attribute
- static_operator
- superfluous_disable_command
- test_case_accessibility
- unneeded_break_in_switch
- unowned_variable_capture
- unused_control_flow_label
- unused_declaration
- unused_enumerated
- unused_optional_binding
- unused_setter_value
- weak_delegate
- xctfail_message
cyclomatic_complexity:
ignores_case_statements: true
excluded:
- Example
- .build