OSDN Git Service

関数名を変更
[kcd/KCD.git] / .swiftlint.yml
index eb4b92c..0674134 100644 (file)
@@ -1,55 +1,48 @@
-
+excluded:
+    - Carthage
 disabled_rules:
-    - variable_name
-    - shorthand_operator
-    - force_try
     - leading_whitespace
     - vertical_whitespace
-    - cyclomatic_complexity
-    - trailing_comma
-    - function_parameter_count
-    - opening_brace
-    - return_arrow_whitespace
-    - statement_position
+    - unused_optional_binding
+    - discarded_notification_center_observer
     - todo
-    - trailing_whitespace
+    - block_based_kvo
 
+trailing_whitespace:
+    ignores_empty_lines: true
+    ignores_comments: true
 
+vertical_whitespace:
+    max_empty_lines: 2
 
 file_length:
-    warning: 500
+    warning: 1500
+    error: 3000
 
-line_length: 500
+line_length:
+    warning: 300
+    error: 500
+    ignores_function_declarations: true
+    ignores_comments: true
 
-variable_name:
-  max_length:
+type_body_length:
+    warning: 600
+    error: 1000
+
+function_body_length:
     warning: 100
     error: 200
-  min_length:
-    warning: 1
-    error: 2
 
-type_name:
+identifier_name:
   max_length:
-    warning: 55
+    warning: 40
     error: 60
   min_length:
-    error: 3
-
-type_body_length:
-    warning: 300
-    error: 900
-
-function_body_length:
-    warning: 100
-    error: 1000
-
-function_parameter_count:
-    warning: 6
-    error: 8
+    warning: 1
 
 large_tuple: 3
 
 cyclomatic_complexity:
-    warning: 20
-    error: 20
+    warning: 25
+    error: 60
+