-
Notifications
You must be signed in to change notification settings - Fork 226
/
.swiftlint.yml
45 lines (44 loc) · 996 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
39
40
41
42
43
44
45
included:
- Source
- Tests
excluded:
- Source/SourceKittenFramework/library_wrapper_*.swift
- Tests/SourceKittenFrameworkTests/Fixtures
opt_in_rules:
- array_init
- attributes
- closure_end_indentation
- closure_spacing
- collection_alignment
- contains_over_first_not_nil
- discouraged_optional_boolean
- empty_count
- explicit_init
- first_where
- identical_operands
- joined_default_parameter
- legacy_random
- literal_expression_end_indentation
- lower_acl_than_parent
- modifier_order
- number_separator
- operator_usage_whitespace
- overridden_super_call
- pattern_matching_keywords
- private_outlet
- prohibited_super_call
- redundant_nil_coalescing
- redundant_type_annotation
- sorted_first_last
- sorted_imports
- toggle_bool
- unneeded_parentheses_in_closure_argument
- yoda_condition
disabled_rules:
- force_cast
- force_try
- identifier_name
- switch_case_on_newline
- todo
line_length: 160
large_tuple: 4