OSDN Git Service
(root)
/
kcd
/
KCD.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
swiftlintの警告を修正
[kcd/KCD.git]
/
.swiftlint.yml
1
2
disabled_rules:
3
- variable_name
4
- shorthand_operator
5
- force_cast
6
- force_try
7
- leading_whitespace
8
- vertical_whitespace
9
- cyclomatic_complexity
10
- redundant_optional_initialization
11
- trailing_comma
12
- function_parameter_count
13
- opening_brace
14
- return_arrow_whitespace
15
- statement_position
16
- todo
17
- trailing_whitespace
18
19
20
21
file_length:
22
warning: 500
23
24
line_length: 500
25
26
variable_name:
27
max_length:
28
warning: 100
29
error: 200
30
min_length:
31
warning: 1
32
error: 2
33
34
type_name:
35
max_length:
36
warning: 55
37
error: 60
38
min_length:
39
error: 3
40
41
type_body_length:
42
warning: 300
43
error: 900
44
45
function_body_length:
46
warning: 100
47
error: 1000
48
49
function_parameter_count:
50
warning: 6
51
error: 8
52
53
large_tuple: 3
54
55
cyclomatic_complexity:
56
warning: 20
57
error: 20