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>2022-10-04 12:09:18 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-04 12:09:18 +0300
commit0d8bcdf77d609b3624541de767a0129aa0b7e8d2 (patch)
tree40a5aebae63c322c38660537adc433fc80dbb46d /.rubocop.yml
parentc99b40d5a7f93e2d51c3716676ff7c345ca19f06 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 21e2f8f2827..5d5d6094bad 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -785,3 +785,21 @@ Gemspec/AvoidExecutingGit:
Lint/BinaryOperatorWithIdenticalOperands:
Exclude:
- '{,ee/,qa/}spec/**/*_{spec,shared_examples,shared_context}.rb'
+
+Cop/SidekiqRedisCall:
+ Enabled: true
+ Exclude:
+ - '{,ee/,jh/}spec/**/*'
+ - 'lib/gitlab/database/migration_helpers.rb'
+ - 'lib/gitlab/sidekiq_migrate_jobs.rb'
+ - 'lib/gitlab/sidekiq_versioning.rb'
+
+Cop/RedisQueueUsage:
+ Enabled: true
+ Exclude:
+ - '{,ee/,jh/}spec/**/*'
+ - 'config/initializers/sidekiq.rb'
+ - 'lib/gitlab/instrumentation/redis.rb'
+ - 'lib/gitlab/redis.rb'
+ - 'lib/system_check/app/redis_version_check.rb'
+ - 'lib/gitlab/mail_room.rb'