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>2021-07-14 18:09:57 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-14 18:09:57 +0300
commitb689f371350fbf1b71f266764ee018befc9b91f7 (patch)
tree7de1d3ab26d3cae0ac2a7a8ccd8302fcdaac5534 /.rubocop.yml
parent0b194c4854f312e36616fccf7c610cb2b0ec6957 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 981b71e582f..31bb810aab2 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -280,6 +280,22 @@ GitlabSecurity/PublicSend:
- 'ee/lib/**/*.rake'
- 'ee/spec/**/*'
+Database/MultipleDatabases:
+ Enabled: true
+ Include:
+ - 'app/**/*.rb'
+ - 'ee/app/**/*.rb'
+ - 'lib/**/*.rb'
+ - 'ee/lib/**/*.rb'
+ - 'spec/**/*.rb'
+ - 'ee/spec/**/*.rb'
+ Exclude:
+ - 'ee/db/**/*.rb'
+ - 'spec/migrations/**/*.rb'
+ - 'lib/gitlab/background_migration/**/*.rb'
+ - 'spec/lib/gitlab/background_migration/**/*.rb'
+ - 'spec/lib/gitlab/database/**/*.rb'
+
Gitlab/DuplicateSpecLocation:
Enabled: true