diff options
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 16 |
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 |