forked from SuperMarcus/NineAnimator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
61 lines (61 loc) · 1.54 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
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- fastlane
disabled_rules: # rule identifiers to exclude from running
- closure_parameter_position
- force_cast
- force_try
- notification_center_detachment
- identifier_name
- line_length
- function_body_length
- file_length
- closure_end_indentation
- cyclomatic_complexity
- nesting
- valid_ibinspectable
opt_in_rules: # some rules are only opt-in
- anyobject_protocol
- closure_spacing
- collection_alignment
- contains_over_first_not_nil
- convenience_type
- discouraged_optional_boolean
- empty_count
- empty_string
- empty_xctest_method
- explicit_init
- fatal_error_message
- first_where
- identical_operands
- implicit_return
- implicitly_unwrapped_optional
- joined_default_parameter
- legacy_random
- literal_expression_end_indentation
- modifier_order
- multiline_arguments
- multiline_literal_brackets
- multiline_parameters
- object_literal
- pattern_matching_keywords
- private_action # ?
- private_outlet # ?
- redundant_nil_coalescing
- redundant_type_annotation
- sorted_first_last
- sorted_imports
- static_operator
- toggle_bool
- trailing_closure
- unavailable_function
- unneeded_parentheses_in_closure_argument
- untyped_error_in_catch
- unused_import
- valid_ibinspectable
- vertical_parameter_alignment_on_call
- vertical_whitespace_closing_braces
- vertical_whitespace_opening_braces
- yoda_condition
trailing_whitespace:
ignores_empty_lines: true