Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-17 03:09:56 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-17 03:09:56 +0300
commitcc626f14115f740bd4aa247cf3ac42dfb2082a4e (patch)
treeb5c7f25711903177ea0e756b1fabd8eef2a9ca14 /.rubocop.yml
parent19db7fd1fefc4e4249d4e55f409f321fdb85aed1 (diff)
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 d0cf328e719..ec57bf14174 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -399,6 +399,12 @@ Database/MultipleDatabases:
- 'spec/lib/gitlab/background_migration/**/*.rb'
- 'spec/lib/gitlab/database/**/*.rb'
+Migration/BatchMigrationsPostOnly:
+ Enabled: true
+ Include:
+ - 'db/migrate/*.rb'
+ - 'db/post_migrate/*.rb'
+
# See https://gitlab.com/gitlab-org/gitlab/-/issues/373194
Gitlab/RSpec/AvoidSetup:
Enabled: true