Remove instance variables from helper usage (#24203)

This commit is contained in:
Matt Jankowski
2023-04-23 16:35:54 -04:00
committed by GitHub
parent e1b4eeb636
commit 0a5f0a8b20
19 changed files with 53 additions and 45 deletions

View File

@ -1400,14 +1400,6 @@ Rails/HasManyOrHasOneDependent:
- 'app/models/user.rb'
- 'app/models/web/push_subscription.rb'
# Configuration parameters: Include.
# Include: app/helpers/**/*.rb
Rails/HelperInstanceVariable:
Exclude:
- 'app/helpers/application_helper.rb'
- 'app/helpers/instance_helper.rb'
- 'app/helpers/jsonld_helper.rb'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Include.
# Include: spec/**/*, test/**/*