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