Fix Rails/I18nLocaleAssignment cop (#24693)

This commit is contained in:
Matt Jankowski
2023-04-30 08:07:03 -04:00
committed by GitHub
parent af824db398
commit d00e45a7d3
4 changed files with 19 additions and 27 deletions

View File

@ -1335,14 +1335,6 @@ Rails/HasManyOrHasOneDependent:
- 'app/models/user.rb'
- 'app/models/web/push_subscription.rb'
# Configuration parameters: Include.
# Include: spec/**/*.rb, test/**/*.rb
Rails/I18nLocaleAssignment:
Exclude:
- 'spec/controllers/auth/registrations_controller_spec.rb'
- 'spec/helpers/application_helper_spec.rb'
- 'spec/requests/localization_spec.rb'
Rails/I18nLocaleTexts:
Exclude:
- 'lib/tasks/mastodon.rake'