summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-10 12:09:14 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-10 12:09:14 +0000
commit152b3268d701b54cac9b615a0e29e0e5726bfd99 (patch)
treedeb2e10bd5aa7c5fd54988fb8bc2ca9ec819c0b2 /.rubocop.yml
parent921173681c207356914a35ea3dca1afffeac8b05 (diff)
downloadgitlab-ce-152b3268d701b54cac9b615a0e29e0e5726bfd99.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index f25d73fdf09..8f5407c64c5 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -620,3 +620,12 @@ Gitlab/NamespacedClass:
- 'ee/elastic/**/*.rb'
- 'scripts/**/*'
- 'spec/migrations/**/*.rb'
+
+Lint/HashCompareByIdentity:
+ Enabled: true
+
+Lint/RedundantSafeNavigation:
+ Enabled: true
+
+Style/ClassEqualityComparison:
+ Enabled: true