]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop_todo.yml
Remove redundant presence validation on belongs_to
[rails.git] / .rubocop_todo.yml
index d1f897bacc3016fb125d03dd982b0eefd413f575..0cdd004a0834e24d826760f31acbd68dd2c959e0 100644 (file)
@@ -130,12 +130,6 @@ Naming/PredicateName:
     - 'app/models/user.rb'
     - 'lib/classic_pagination/pagination.rb'
 
-# Offense count: 2
-# Cop supports --auto-correct.
-Performance/StringIdentifierArgument:
-  Exclude:
-    - 'test/controllers/accounts_controller_test.rb'
-
 # Offense count: 5
 # Configuration parameters: Database, Include.
 # SupportedDatabases: mysql, postgresql
@@ -167,6 +161,7 @@ Rails/HelperInstanceVariable:
 Rails/LexicallyScopedActionFilter:
   Exclude:
     - 'app/controllers/oauth2_applications_controller.rb'
+    - 'app/controllers/oauth2_authorizations_controller.rb'
 
 # Offense count: 5
 # Configuration parameters: Include.
@@ -188,11 +183,6 @@ Rails/OutputSafety:
     - 'lib/rich_text.rb'
     - 'test/helpers/application_helper_test.rb'
 
-# Offense count: 23
-# Cop supports --auto-correct.
-Rails/RedundantPresenceValidationOnBelongsTo:
-  Enabled: false
-
 # Offense count: 90
 # Cop supports --auto-correct.
 # Configuration parameters: EnforcedStyle.