]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop_todo.yml
Set the locale for issue and report views
[rails.git] / .rubocop_todo.yml
index f03767698b0a8a39b21306c0906a68a869bdcb82..da801d681ab11b8071dcf50a836d3b884cb36ccd 100644 (file)
@@ -33,9 +33,9 @@ Lint/AssignmentInCondition:
     - 'app/controllers/application_controller.rb'
     - 'app/controllers/geocoder_controller.rb'
     - 'app/controllers/notes_controller.rb'
-    - 'app/controllers/trace_controller.rb'
+    - 'app/controllers/traces_controller.rb'
     - 'app/controllers/user_controller.rb'
-    - 'app/controllers/user_preference_controller.rb'
+    - 'app/controllers/user_preferences_controller.rb'
     - 'app/helpers/application_helper.rb'
     - 'app/helpers/browse_helper.rb'
     - 'app/models/client_application.rb'
@@ -55,11 +55,6 @@ Lint/InterpolationCheck:
   Exclude:
     - 'test/controllers/node_controller_test.rb'
 
-# Offense count: 2
-Lint/RescueWithoutErrorClass:
-  Exclude:
-    - 'app/helpers/browse_helper.rb'
-
 # Offense count: 2
 Lint/ShadowingOuterLocalVariable:
   Exclude:
@@ -72,7 +67,7 @@ Metrics/AbcSize:
 # Offense count: 41
 # Configuration parameters: CountComments, ExcludedMethods.
 Metrics/BlockLength:
-  Max: 240
+  Max: 257
 
 # Offense count: 12
 # Configuration parameters: CountBlocks.
@@ -82,7 +77,7 @@ Metrics/BlockNesting:
 # Offense count: 63
 # Configuration parameters: CountComments.
 Metrics/ClassLength:
-  Max: 1790
+  Max: 1797
 
 # Offense count: 71
 Metrics/CyclomaticComplexity:
@@ -229,7 +224,6 @@ Style/RaiseArgs:
   Enabled: false
 
 # Offense count: 2
-# Cop supports --auto-correct.
-Style/RescueModifier:
+Style/RescueStandardError:
   Exclude:
     - 'app/helpers/browse_helper.rb'