Skip to content

Commit ea1dee3

Browse files
committed
Backend: Disable Rails/HelperInstanceVariable cop
We do this all the time, and it's really time-consuming to fix. Also, no clear benefit.
1 parent 0104561 commit ea1dee3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.rubocop.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,11 @@ Rails/LexicallyScopedActionFilter:
352352
Exclude:
353353
- "backend/app/controllers/**/*"
354354

355+
Rails/HelperInstanceVariable:
356+
Exclude:
357+
- "backend/app/helpers/**/*"
358+
- "core/app/helpers/**/*"
359+
355360
# Since we're writing library code we can't assume that
356361
# tasks should load the rails environment loaded.
357362
Rails/RakeEnvironment:

0 commit comments

Comments
 (0)