Commit c4663455 authored by Peter Leitzen's avatar Peter Leitzen

Move exclusions for RSpec/LeakyConstantDeclaration to .rubocop_todo

This way setting `REVEAL_RUBOCOP_TODO=1` will pick up these offenses
correctly.
parent 51f6fdbf
...@@ -517,24 +517,6 @@ Graphql/Descriptions: ...@@ -517,24 +517,6 @@ Graphql/Descriptions:
RSpec/ImplicitSubject: RSpec/ImplicitSubject:
Enabled: false Enabled: false
# WIP See https://gitlab.com/gitlab-org/gitlab/-/issues/211580
RSpec/LeakyConstantDeclaration:
Enabled: true
Exclude:
- 'spec/db/schema_spec.rb'
- 'spec/lib/feature_spec.rb'
- 'spec/lib/gitlab/config/entry/simplifiable_spec.rb'
- 'spec/lib/gitlab/quick_actions/dsl_spec.rb'
- 'spec/lib/marginalia_spec.rb'
- 'spec/mailers/notify_spec.rb'
- 'spec/models/concerns/batch_destroy_dependent_associations_spec.rb'
- 'spec/models/concerns/bulk_insert_safe_spec.rb'
- 'spec/models/concerns/bulk_insertable_associations_spec.rb'
- 'spec/models/concerns/triggerable_hooks_spec.rb'
- 'spec/models/repository_spec.rb'
- 'spec/services/clusters/applications/check_installation_progress_service_spec.rb'
- 'spec/support/shared_examples/quick_actions/issuable/issuable_quick_actions_shared_examples.rb'
RSpec/EmptyLineAfterHook: RSpec/EmptyLineAfterHook:
Enabled: false Enabled: false
......
---
RSpec/LeakyConstantDeclaration:
Exclude:
- spec/db/schema_spec.rb
- spec/lib/gitlab/config/entry/simplifiable_spec.rb
- spec/lib/gitlab/quick_actions/dsl_spec.rb
- spec/lib/marginalia_spec.rb
- spec/mailers/notify_spec.rb
- spec/models/concerns/batch_destroy_dependent_associations_spec.rb
- spec/models/concerns/bulk_insert_safe_spec.rb
- spec/models/concerns/bulk_insertable_associations_spec.rb
- spec/models/concerns/triggerable_hooks_spec.rb
- spec/models/repository_spec.rb
- spec/services/clusters/applications/check_installation_progress_service_spec.rb
- spec/support/shared_examples/quick_actions/issuable/issuable_quick_actions_shared_examples.rb
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment