Skip to content

Commit 8bf5466

Browse files
committed
Disable Rails/LexicallyScopedActionFilter cop
This just doesn't seem to be sensible to have since resources_controller defines all the CRUD actions, and as soon as all our controllers inherit from resources_controller, they won't be rubocop compliant because of this.
1 parent b1ed3d2 commit 8bf5466

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,3 +352,6 @@ Rails/FindEach:
352352
# tasks should load the rails environment loaded.
353353
Rails/RakeEnvironment:
354354
Enabled: false
355+
356+
Rails/LexicallyScopedActionFilter:
357+
Enabled: false

0 commit comments

Comments
 (0)