]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop_todo.yml
Fix some new rubocop warnings
[rails.git] / .rubocop_todo.yml
index 1baaf0ab6f551145ca53cb0a4087b3b15cd25b72..32a067c19da09d793f723e0511abd191ed08cbff 100644 (file)
@@ -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