summaryrefslogtreecommitdiff
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-04-06 12:08:29 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-04-06 12:08:29 +0000
commit39c98649d20e08428f507e0728b0bd87a299e5cf (patch)
tree6ca0ae12d9498f9158b7f8da9bad97f1517b0d83 /.rubocop_todo.yml
parentc16b752f86f78442349b7b2cd9106109de10763b (diff)
downloadgitlab-ce-39c98649d20e08428f507e0728b0bd87a299e5cf.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml29
1 files changed, 0 insertions, 29 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 21671ba56ae..534861d90b2 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -143,25 +143,6 @@ Performance/ConstantRegexp:
Performance/MethodObjectAsBlock:
Enabled: false
-# Offense count: 18
-# Cop supports --auto-correct.
-# Configuration parameters: AutoCorrect.
-Performance/StringInclude:
- Exclude:
- - 'app/models/snippet_repository.rb'
- - 'config/initializers/macos.rb'
- - 'config/spring.rb'
- - 'ee/app/models/ee/container_registry/event.rb'
- - 'ee/lib/gitlab/auth/smartcard/certificate.rb'
- - 'lib/gitlab/database/migration_helpers.rb'
- - 'lib/kramdown/parser/atlassian_document_format.rb'
- - 'lib/prometheus/pid_provider.rb'
- - 'qa/qa/ee/page/merge_request/show.rb'
- - 'qa/qa/specs/runner.rb'
- - 'spec/features/projects/jobs_spec.rb'
- - 'spec/spec_helper.rb'
- - 'spec/support_specs/helpers/active_record/query_recorder_spec.rb'
-
# Offense count: 15209
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
@@ -282,11 +263,6 @@ Rails/HelperInstanceVariable:
Rails/IndexWith:
Enabled: false
-# Offense count: 1
-Rails/Inquiry:
- Exclude:
- - 'spec/helpers/labels_helper_spec.rb'
-
# Offense count: 118
# Configuration parameters: Include.
# Include: app/models/**/*.rb
@@ -335,11 +311,6 @@ Rails/RakeEnvironment:
Rails/RedundantForeignKey:
Enabled: false
-# Offense count: 1
-Rails/RenderInline:
- Exclude:
- - 'ee/app/controllers/sitemap_controller.rb'
-
# Offense count: 1144
# Configuration parameters: ForbiddenMethods, AllowedMethods.
# ForbiddenMethods: decrement!, decrement_counter, increment!, increment_counter, insert, insert!, insert_all, insert_all!, toggle!, touch, touch_all, update_all, update_attribute, update_column, update_columns, update_counters, upsert, upsert_all