]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop_todo.yml
Remove redundant presence validation on belongs_to
[rails.git] / .rubocop_todo.yml
index b60dd53329374286fc6d582ba3eac2c47df9b4b6..0cdd004a0834e24d826760f31acbd68dd2c959e0 100644 (file)
@@ -161,6 +161,7 @@ Rails/HelperInstanceVariable:
 Rails/LexicallyScopedActionFilter:
   Exclude:
     - 'app/controllers/oauth2_applications_controller.rb'
 Rails/LexicallyScopedActionFilter:
   Exclude:
     - 'app/controllers/oauth2_applications_controller.rb'
+    - 'app/controllers/oauth2_authorizations_controller.rb'
 
 # Offense count: 5
 # Configuration parameters: Include.
 
 # Offense count: 5
 # Configuration parameters: Include.
@@ -182,11 +183,6 @@ Rails/OutputSafety:
     - 'lib/rich_text.rb'
     - 'test/helpers/application_helper_test.rb'
 
     - '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.
 # Offense count: 90
 # Cop supports --auto-correct.
 # Configuration parameters: EnforcedStyle.