]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Ignore the class length of test files
[rails.git] / .rubocop.yml
index 5bf565c31f5060642551ea1c82dcd3d51740a3ef..87abac9a3becdd243a02b10ef612b2781d0a8004 100644 (file)
@@ -19,6 +19,14 @@ Lint/PercentStringArray:
     - 'app/controllers/application_controller.rb'
     - 'app/controllers/site_controller.rb'
 
+Metrics/BlockLength:
+  Exclude:
+    - 'config/routes.rb'
+
+Metrics/ClassLength:
+  Exclude:
+    - 'test/**/*'
+
 Naming/FileName:
   Exclude:
     - 'script/deliver-message'