X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b7432e943222d5499d135afb4f6431ed4c3c988d..96f426a2eaa6009496b0f51934a497b3c970db97:/.rubocop_todo.yml?ds=sidebyside diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 87bf43bc3..7529d6148 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -33,7 +33,7 @@ Lint/AssignmentInCondition: - 'app/controllers/users_controller.rb' - 'app/helpers/application_helper.rb' - 'app/helpers/browse_tags_helper.rb' - - 'app/mailers/notifier.rb' + - 'app/mailers/user_mailer.rb' - 'app/models/client_application.rb' - 'lib/nominatim.rb' - 'lib/osm.rb' @@ -149,14 +149,6 @@ Rails/HelperInstanceVariable: Exclude: - 'app/helpers/title_helper.rb' -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: Include. -# Include: app/mailers/**/*.rb -Rails/MailerName: - Exclude: - - 'app/mailers/notifier.rb' - # Offense count: 5 # Configuration parameters: Include. # Include: db/migrate/*.rb @@ -188,11 +180,6 @@ Rails/OutputSafety: Rails/TimeZone: Enabled: false -# Offense count: 1 -Style/CombinableLoops: - Exclude: - - 'db/migrate/021_move_to_innodb.rb' - # Offense count: 572 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. @@ -222,16 +209,6 @@ Style/OptionalBooleanParameter: - 'test/models/trace_test.rb' - 'test/models/tracetag_test.rb' -# Offense count: 6 -# Configuration parameters: AllowModifier. -Style/SoleNestedConditional: - Exclude: - - 'app/controllers/user_blocks_controller.rb' - - 'app/models/old_way.rb' - - 'app/validators/characters_validator.rb' - - 'app/validators/whitespace_validator.rb' - - 'lib/classic_pagination/pagination.rb' - # Offense count: 28 # Cop supports --auto-correct. Style/StringConcatenation: