-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.swiftlint.yml
More file actions
79 lines (72 loc) · 1.56 KB
/
.swiftlint.yml
File metadata and controls
79 lines (72 loc) · 1.56 KB
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
# Included paths
included:
- Stingray
# Excluded paths
excluded:
- Carthage
# Opt-in rules
opt_in_rules:
- accessibility_label_for_image
- accessibility_trait_for_button
- array_init
- closure_end_indentation
- closure_spacing
- comma_inheritance
- contains_over_filter_count
- contains_over_filter_is_empty
- contains_over_first_not_nil
- contains_over_range_nil_comparison
- collection_alignment
- discouraged_none_name
- empty_count
- expiring_todo
- explicit_init
- first_where
- flatmap_over_map_reduce
- for_where
- force_unwrapping
- identical_operands
- implicitly_unwrapped_optional
- last_where
- line_length
- local_doc_comment
- missing_docs
- modifier_order
- multiline_arguments
- multiline_arguments_brackets
- multiline_function_chains
- multiline_literal_brackets
- multiline_parameters
- multiline_parameters_brackets
- nimble_operator
- operator_usage_whitespace
- optional_enum_case_matching
- orphaned_doc_comment
- sorted_imports
- static_operator
- toggle_bool
- inclusive_language
# Rules
line_length:
warning: 140
error: 240
trailing_semicolon: error
force_cast: warning
missing_docs:
warning: [open, public, fileprivate, internal, private]
excludes_extensions: false
# Disabled rules
disabled_rules:
- trailing_whitespace
- statement_position
- todo
- colon
- private_over_fileprivate
- function_parameter_count
- identifier_name
- function_body_length
- nesting
- file_length
- redundant_string_enum_value
- type_body_length
- cyclomatic_complexity