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 'force_cast' の警告を修正
[kcd/KCD.git]
/
.swiftlint.yml
1
2
disabled_rules:
3
- variable_name
4
- shorthand_operator
5
- force_try
6
- leading_whitespace
7
- vertical_whitespace
8
- cyclomatic_complexity
9
- redundant_optional_initialization
10
- trailing_comma
11
- function_parameter_count
12
- opening_brace
13
- return_arrow_whitespace
14
- statement_position
15
- todo
16
- trailing_whitespace
17
18
19
20
file_length:
21
warning: 500
22
23
line_length: 500
24
25
variable_name:
26
max_length:
27
warning: 100
28
error: 200
29
min_length:
30
warning: 1
31
error: 2
32
33
type_name:
34
max_length:
35
warning: 55
36
error: 60
37
min_length:
38
error: 3
39
40
type_body_length:
41
warning: 300
42
error: 900
43
44
function_body_length:
45
warning: 100
46
error: 1000
47
48
function_parameter_count:
49
warning: 6
50
error: 8
51
52
large_tuple: 3
53
54
cyclomatic_complexity:
55
warning: 20
56
error: 20