-
Notifications
You must be signed in to change notification settings - Fork 1
/
.swiftlint.yml
47 lines (45 loc) · 1004 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
46
47
included:
- ./Sources
- ./Tests
opt_in_rules:
- anyobject_protocol
- array_init
- attributes
- contains_over_first_not_nil
- convenience_type
- empty_count
- empty_string
- explicit_init
- fatal_error_message
- first_where
- for_where
- last_where
- legacy_random
- literal_expression_end_indentation
- nslocalizedstring_key
- object_literal
- overridden_super_call
- prohibited_interface_builder
- prohibited_super_call
- reduce_into
- redundant_type_annotation
- single_test_class
- sorted_first_last
- sorted_imports
- trailing_closure
- vertical_whitespace_closing_braces
- vertical_whitespace_opening_braces
disabled_rules:
- cyclomatic_complexity
- file_length
- force_cast
- force_try
- function_body_length
- generic_type_name
- identifier_name
- large_tuple
- line_length
- nesting
- todo
- trailing_comma
- type_body_length