summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-18 21:09:22 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-18 21:09:22 +0000
commit8b5c2a4525819c6b18f422b4baa0f6568286909b (patch)
tree7c59a1e6b4b411c88b53eb046121e9d9b25930df /.rubocop.yml
parent5bfb8d1fad825eec90b0af688c7cd1b352c9056e (diff)
downloadgitlab-ce-8b5c2a4525819c6b18f422b4baa0f6568286909b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index ebc27c4cc9e..a05fffe8740 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -299,7 +299,11 @@ RSpec/ImplicitSubject:
Enabled: false
RSpec/LeakyConstantDeclaration:
- Enabled: false
+ Enabled: true
+ Exclude:
+ - 'spec/**/*.rb'
+ - 'ee/spec/**/*.rb'
+ - 'qa/spec/**/*.rb'
RSpec/EmptyLineAfterHook:
Enabled: false