-
Notifications
You must be signed in to change notification settings - Fork 1
/
.swiftlint.yml
46 lines (38 loc) Β· 1.09 KB
/
.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
included:
- Animal-Crossing-Wiki # νλ‘μ νΈ μ΄λ¦
excluded: # λ¦°νΈ κ³Όμ μμ 무μν νμΌ κ²½λ‘. `included`λ³΄λ€ μ°μ μμ λμ
- Animal-Crossing-Wiki/Projects/App/Sources/AppDelegate.swift
- Animal-Crossing-Wiki/Projects/App/Sources/SceneDelegate.swift
- Animal-Crossing-Wiki/Projects/App/Sources/Utility/Items.swift
- Tuist
- Workspace.swift
- Animal-Crossing-Wiki/Projects/*/Project.swift
identifier_name:
min_length:
- 2 # only min_length
error: 4 # only error
excluded: # μ μΈν λ¬Έμμ΄ λͺ©λ‘ μ¬μ©
- a
- b
function_body_length:
warning: 150
error: 300
type_body_length:
- 300 # warning
- 500
file_length:
warning: 500
error: 1200
line_length:
warning: 140
disabled_rules: # μ€νμμ μ μΈν λ£° μλ³μλ€
- colon
- control_statement
- trailing_whitespace
- vertical_parameter_alignment
- cyclomatic_complexity
- void_function_in_ternary
- comment_spacing
opt_in_rules: # μΌλΆ λ£°μ μ΅νΈ μΈ ννλ‘ μ 곡
- empty_count
- conditional_returns_on_newline