X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c03ba5f6b8335456c27019e5c7b8299870ecba9c..ea59d95f4aad7cafe3a0d0b4d5ef533b0662e365:/.rubocop_todo.yml?ds=sidebyside diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 1baaf0ab6..32a067c19 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,10 +1,11 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2020-08-06 17:20:38 UTC using RuboCop version 0.89.0. +# on 2020-08-06 20:53:30 UTC using RuboCop version 0.89.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. +# versions of RuboCop, may require this file to be generated again. # Work around erblint issues. # https://github.com/openstreetmap/openstreetmap-website/issues/2472 @@ -87,6 +88,25 @@ Metrics/ParameterLists: Metrics/PerceivedComplexity: Max: 26 +# Offense count: 540 +Minitest/MultipleAssertions: + Max: 81 + +# Offense count: 26 +# Cop supports --auto-correct. +Minitest/TestMethodName: + Exclude: + - 'test/abilities/api_capability_test.rb' + - 'test/controllers/api/nodes_controller_test.rb' + - 'test/controllers/api/old_nodes_controller_test.rb' + - 'test/controllers/api/relations_controller_test.rb' + - 'test/controllers/api/ways_controller_test.rb' + - 'test/helpers/browse_helper_test.rb' + - 'test/integration/client_applications_test.rb' + - 'test/integration/short_links_test.rb' + - 'test/integration/user_blocks_test.rb' + - 'test/integration/user_creation_test.rb' + # Offense count: 6 Naming/AccessorMethodName: Exclude: @@ -137,6 +157,14 @@ 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