summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-02-22 09:10:46 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-02-22 09:10:46 +0000
commit2e9f877e8b6dd58c8011745b1d9a28dd67c8179c (patch)
tree0e2d42aa2ef1c3ae386b54962815623466a3dd54 /.rubocop.yml
parentc86c0e01469fd7c9aa72283db23d539c02f44bdb (diff)
downloadgitlab-ce-2e9f877e8b6dd58c8011745b1d9a28dd67c8179c.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index a4a74aa4100..b9f52ebc055 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -18,6 +18,7 @@ inherit_from:
inherit_mode:
merge:
- Include
+ - Exclude
AllCops:
TargetRubyVersion: 2.7
@@ -597,3 +598,14 @@ FactoryBot/InlineAssociation:
Include:
- 'spec/factories/**/*.rb'
- 'ee/spec/factories/**/*.rb'
+
+# WIP: https://gitlab.com/gitlab-org/gitlab/-/issues/321982
+Gitlab/NamespacedClass:
+ Exclude:
+ - 'config/**/*.rb'
+ - 'db/**/*.rb'
+ - 'ee/bin/**/*'
+ - 'ee/db/**/*.rb'
+ - 'ee/elastic/**/*.rb'
+ - 'scripts/**/*'
+ - 'spec/migrations/**/*.rb'