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 'trailing_newline' の警告を修正
[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
- legacy_constructor
10
- cyclomatic_complexity
11
- legacy_nsgeometry_functions
12
- class_delegate_protocol
13
- weak_delegate
14
- redundant_optional_initialization
15
- large_tuple
16
- trailing_comma
17
- function_parameter_count
18
- opening_brace
19
- operator_whitespace
20
- return_arrow_whitespace
21
- statement_position
22
- todo
23
- trailing_semicolon
24
- trailing_whitespace
25
26
27
28
file_length:
29
warning: 500
30
31
line_length: 500
32
33
variable_name:
34
max_length:
35
warning: 100
36
error: 200
37
min_length:
38
warning: 1
39
error: 2
40
41
type_name:
42
max_length:
43
warning: 55
44
error: 60
45
min_length:
46
error: 3
47
48
type_body_length:
49
warning: 300
50
error: 900
51
52
function_body_length:
53
warning: 100
54
error: 1000
55
56
function_parameter_count:
57
warning: 6
58
error: 8
59
60
cyclomatic_complexity:
61
warning: 20
62
error: 20