]> git.openstreetmap.org Git - rails.git/commitdiff
Disable some Style/RedundantCondition corrections temporarily
authorTom Hughes <tom@compton.nu>
Sat, 7 May 2022 07:14:56 +0000 (08:14 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 7 May 2022 07:14:56 +0000 (08:14 +0100)
https://github.com/rubocop/rubocop/issues/10605

.rubocop.yml

index 65db8a6a563522c536389729db7ec383aca9f0f6..dc7590df36d3ee5353256fe2f308af287ae0443c 100644 (file)
@@ -96,6 +96,12 @@ Style/MixinUsage:
     - 'bin/setup'
     - 'bin/update'
 
+Style/RedundantCondition:
+  Exclude:
+    - 'app/controllers/messages_controller.rb'
+    - 'app/controllers/sessions_controller.rb'
+    - 'app/controllers/users_controller.rb'
+
 Style/StringLiterals:
   EnforcedStyle: double_quotes