OSDN Git Service

swiftlint 'colon' の警告を修正
[kcd/KCD.git] / .swiftlint.yml
1
2 disabled_rules:
3     - variable_name
4     - closing_brace
5     - comma
6     - control_statement
7     - shorthand_operator
8     - force_cast
9     - force_try
10     - leading_whitespace
11     - vertical_whitespace
12     - unused_closure_parameter
13     - legacy_constructor
14     - cyclomatic_complexity
15     - legacy_nsgeometry_functions
16     - class_delegate_protocol
17     - weak_delegate
18     - redundant_optional_initialization
19     - large_tuple
20     - syntactic_sugar
21     - trailing_comma
22     - empty_parentheses_with_trailing_closure
23     - function_parameter_count
24     - nesting
25     - opening_brace
26     - operator_whitespace
27     - return_arrow_whitespace
28     - statement_position
29     - todo
30     - trailing_newline
31     - trailing_semicolon
32     - trailing_whitespace
33     - valid_docs
34
35
36
37 file_length:
38     warning: 500
39
40 line_length: 500
41
42 variable_name:
43   max_length:
44     warning: 100
45     error: 200
46   min_length:
47     warning: 1
48     error: 2
49
50 type_name:
51   max_length:
52     warning: 55
53     error: 60
54   min_length:
55     error: 3
56
57 type_body_length:
58     warning: 300
59     error: 900
60
61 function_body_length:
62     warning: 100
63     error: 1000
64
65 function_parameter_count:
66     warning: 6
67     error: 8
68
69 cyclomatic_complexity:
70     warning: 20
71     error: 20