X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/efd50cd529990069dc1ca95f66ec6f61471fe29d..cc3ac820cf6801f0754be531ca292361047f2590:/.rubocop_todo.yml diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 7d2c583eb..35107e9b9 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -18,6 +18,7 @@ Lint/AssignmentInCondition: - 'app/controllers/user_preferences_controller.rb' - 'app/helpers/application_helper.rb' - 'app/helpers/browse_helper.rb' + - 'app/helpers/browse_tags_helper.rb' - 'app/models/client_application.rb' - 'app/mailers/notifier.rb' - 'lib/nominatim.rb' @@ -48,11 +49,11 @@ Metrics/BlockNesting: # Offense count: 63 # Configuration parameters: CountComments. Metrics/ClassLength: - Max: 1801 + Max: 1627 # Offense count: 72 Metrics/CyclomaticComplexity: - Max: 20 + Max: 23 # Offense count: 691 # Configuration parameters: CountComments. @@ -141,7 +142,7 @@ Rails/OutputSafety: Exclude: - 'app/controllers/users_controller.rb' - 'app/helpers/application_helper.rb' - - 'app/helpers/changeset_helper.rb' + - 'app/helpers/changesets_helper.rb' - 'app/helpers/geocoder_helper.rb' - 'app/helpers/note_helper.rb' - 'app/helpers/open_graph_helper.rb' @@ -177,7 +178,7 @@ Style/FrozenStringLiteralComment: # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - - 'app/controllers/way_controller.rb' + - 'app/controllers/ways_controller.rb' # Offense count: 70 # Cop supports --auto-correct.