summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-10 18:11:08 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-10 18:11:08 +0000
commit4e50b9ed316f3c99693a41274babcd67c63ee640 (patch)
tree21f0f3a7f73a7dd51b06ba62ad9cfa3eaab85c9f /.rubocop.yml
parent609943de5e2ee6c3bf0f09d3fb1d5fc38ed5a4ed (diff)
downloadgitlab-ce-4e50b9ed316f3c99693a41274babcd67c63ee640.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index a76e2a6c2ce..41ebc6a4c16 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -487,6 +487,12 @@ RSpec/FactoryBot/AvoidCreate:
- 'ee/spec/presenters/**/*.rb'
- 'ee/spec/serializers/**/*.rb'
+RSpec/FactoryBot/StrategyInCallback:
+ Enabled: true
+ Include:
+ - 'spec/factories/**/*.rb'
+ - 'ee/spec/factories/**/*.rb'
+
Cop/IncludeSidekiqWorker:
Enabled: true
Exclude: