Skip to content

Commit 9e289b0

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 540ad6a commit 9e289b0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.rubocop.yml

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

0 commit comments

Comments
 (0)