OSDN Git Service

swiftlinet 'unused_closure_parameter' の警告を修正
[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     - syntactic_sugar
19     - trailing_comma
20     - empty_parentheses_with_trailing_closure
21     - function_parameter_count
22     - opening_brace
23     - operator_whitespace
24     - return_arrow_whitespace
25     - statement_position
26     - todo
27     - trailing_newline
28     - trailing_semicolon
29     - trailing_whitespace
30
31
32
33 file_length:
34     warning: 500
35
36 line_length: 500
37
38 variable_name:
39   max_length:
40     warning: 100
41     error: 200
42   min_length:
43     warning: 1
44     error: 2
45
46 type_name:
47   max_length:
48     warning: 55
49     error: 60
50   min_length:
51     error: 3
52
53 type_body_length:
54     warning: 300
55     error: 900
56
57 function_body_length:
58     warning: 100
59     error: 1000
60
61 function_parameter_count:
62     warning: 6
63     error: 8
64
65 cyclomatic_complexity:
66     warning: 20
67     error: 20