]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop_todo.yml
Add some extra indexes on issues
[rails.git] / .rubocop_todo.yml
index 41bd7c80a205ccf8231ad3e4f739a29d8c014682..5846de44f47d987a1bf16d6f67a19dd7227617e2 100644 (file)
@@ -55,11 +55,6 @@ Lint/InterpolationCheck:
   Exclude:
     - 'test/controllers/node_controller_test.rb'
 
   Exclude:
     - 'test/controllers/node_controller_test.rb'
 
-# Offense count: 2
-Lint/RescueWithoutErrorClass:
-  Exclude:
-    - 'app/helpers/browse_helper.rb'
-
 # Offense count: 2
 Lint/ShadowingOuterLocalVariable:
   Exclude:
 # Offense count: 2
 Lint/ShadowingOuterLocalVariable:
   Exclude:
@@ -72,7 +67,7 @@ Metrics/AbcSize:
 # Offense count: 41
 # Configuration parameters: CountComments, ExcludedMethods.
 Metrics/BlockLength:
 # Offense count: 41
 # Configuration parameters: CountComments, ExcludedMethods.
 Metrics/BlockLength:
-  Max: 240
+  Max: 250
 
 # Offense count: 12
 # Configuration parameters: CountBlocks.
 
 # Offense count: 12
 # Configuration parameters: CountBlocks.
@@ -82,7 +77,7 @@ Metrics/BlockNesting:
 # Offense count: 63
 # Configuration parameters: CountComments.
 Metrics/ClassLength:
 # Offense count: 63
 # Configuration parameters: CountComments.
 Metrics/ClassLength:
-  Max: 1790
+  Max: 1797
 
 # Offense count: 71
 Metrics/CyclomaticComplexity:
 
 # Offense count: 71
 Metrics/CyclomaticComplexity:
@@ -227,3 +222,8 @@ Style/NumericLiterals:
 # SupportedStyles: compact, exploded
 Style/RaiseArgs:
   Enabled: false
 # SupportedStyles: compact, exploded
 Style/RaiseArgs:
   Enabled: false
+
+# Offense count: 2
+Style/RescueStandardError:
+  Exclude:
+    - 'app/helpers/browse_helper.rb'