-
-
Notifications
You must be signed in to change notification settings - Fork 126
/
.swiftlint.yml
60 lines (60 loc) · 951 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
49
50
51
52
53
54
55
56
57
58
59
60
---
disabled_rules:
- large_tuple
- todo
- inclusive_language
- trailing_comma
excluded:
- Carthage
- Pods
- Dangerfile.swift
opt_in_rules:
- array_init
- closure_body_length
- closure_spacing
- collection_alignment
- convenience_type
- empty_count
- empty_string
- file_header
- first_where
- last_where
- implicit_return
- joined_default_parameter
- let_var_whitespace
- lower_acl_than_parent
- mark
- missing_docs
- modifier_order
- multiline_function_chains
- redundant_nil_coalescing
- static_operator
analyzer_rules:
- explicit_self
file_length:
error: 1200
warning: 500
force_cast: warning
force_try:
severity: warning
identifier_name:
excluded:
- id
- x
- y
- i
min_length:
error: 2
warning: 2
included:
- Source
line_length: 150
reporter: xcode
type_body_length:
- 300
- 400
type_name:
max_length:
error: 60
warning: 50
min_length: 2