X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/21683db838d66d5b14da08dd5fd467fae09515d4..9b36021ec5eabeca8db735cf80c5876d2d31338d:/.rubocop_todo.yml diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index d15d23721..83f60d4f8 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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: 245 # Offense count: 12 # Configuration parameters: CountBlocks. @@ -227,3 +222,8 @@ Style/NumericLiterals: # SupportedStyles: compact, exploded Style/RaiseArgs: Enabled: false + +# Offense count: 2 +Style/RescueStandardError: + Exclude: + - 'app/helpers/browse_helper.rb'