-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
48 lines (48 loc) · 958 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
48
indentation: 2
excluded:
- .build
disabled_rules:
- cyclomatic_complexity
- file_length
- line_length
- nesting
- todo # Use custom_todo
- unused_setter_value
- generic_type_name
- identifier_name
- function_parameter_count
- type_name
- function_body_length
- type_body_length
- statement_position
- orphaned_doc_comment
analyzer_rules:
- unused_declaration
- unused_import
opt_in_rules:
- trailing_whitespaces
- indentation_width
- array_init
- closure_end_indentation
- closure_spacing
- collection_alignment
- empty_collection_literal
- empty_count
- empty_string
- fallthrough
- fatal_error_message
- overridden_super_call
- sorted_imports
- vertical_whitespace_closing_braces
- vertical_whitespace_opening_braces
- yoda_condition
indentation_width:
indentation_width: 2
trailing_comma:
mandatory_comma: true
identifier_name:
min_length:
error: 3
excluded:
- id
- os