/
.swiftlint.yml
38 lines (34 loc) · 798 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
disabled_rules:
- type_body_length
- file_length
- function_body_length
- orphaned_doc_comment
- vertical_parameter_alignment # Many false positives because of tabs
opt_in_rules:
- empty_count
- overridden_super_call
- redundant_nil_coalescing
- private_outlet
- operator_usage_whitespace
- first_where
- number_separator
- prohibited_super_call
- fatal_error_message
- closure_spacing
- object_literal
- attributes
- toggle_bool
- collection_alignment
- closure_end_indentation
- no_extension_access_modifier
- implicit_return
custom_rules:
indent_by_tabs:
name: "Indentation Style"
regex: "([ ]{4})"
message: "Please use tabs for indentation, not spaces."
severity: warning
indentation: tabs
identifier_name:
excluded:
- id