summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-12 18:07:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-12 18:07:13 +0000
commitba5be4989e02566ad45191b6d97815e189a26dac (patch)
tree96a4ace3c3d61ec4aea31cbf548718ef67cfd84b /.rubocop.yml
parent22a3da26ad21d67acaef7b2598429c8a003f1037 (diff)
downloadgitlab-ce-ba5be4989e02566ad45191b6d97815e189a26dac.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index beb4b0afd87..29a0b7617e7 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -474,6 +474,14 @@ Naming/PredicateName:
Naming/RescuedExceptionsVariableName:
Enabled: false
+RSpec/AvoidTestProf:
+ Include:
+ - 'spec/migrations/**/*.rb'
+ - 'ee/spec/migrations/**/*.rb'
+ - 'spec/lib/gitlab/background_migration/**/*.rb'
+ - 'ee/spec/lib/gitlab/background_migration/**/*.rb'
+ - 'ee/spec/lib/ee/gitlab/background_migration/**/*.rb'
+
RSpec/FactoriesInMigrationSpecs:
Enabled: true
Include: