From 9adada1187b920547a57b4bb406c3e3c55436bf1 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 13 May 2022 18:08:33 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- .rubocop_todo.yml | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) (limited to '.rubocop_todo.yml') diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 05b96a6b88a..64ee60d7eb8 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -11,13 +11,6 @@ Gitlab/PolicyRuleBoolean: Exclude: - 'ee/app/policies/ee/identity_provider_policy.rb' -# Offense count: 1428 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: method_call, block -RSpec/ExpectChange: - Enabled: false - # Offense count: 2352 # Cop supports --auto-correct. # Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers. @@ -36,26 +29,6 @@ RSpec/RepeatedExampleGroupBody: Rails/ActiveRecordCallbacksOrder: Enabled: false -# Offense count: 10 -# Cop supports --auto-correct. -Rails/ApplicationController: - Exclude: - - 'app/controllers/acme_challenges_controller.rb' - - 'app/controllers/chaos_controller.rb' - - 'app/controllers/health_controller.rb' - - 'app/controllers/metrics_controller.rb' - - 'ee/app/controllers/oauth/geo_auth_controller.rb' - - 'ee/spec/helpers/ee/integrations_helper_spec.rb' - - 'lib/gitlab/base_doorkeeper_controller.rb' - - 'lib/gitlab/request_forgery_protection.rb' - - 'spec/controllers/concerns/continue_params_spec.rb' - - 'spec/lib/marginalia_spec.rb' - -# Offense count: 155 -# Cop supports --auto-correct. -Rails/ContentTag: - Enabled: false - # Offense count: 313 # Configuration parameters: Include. # Include: db/migrate/*.rb @@ -94,13 +67,6 @@ Rails/NegateInclude: Rails/WhereExists: Enabled: false -# Offense count: 240 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: separated, grouped -Style/AccessorGrouping: - Enabled: false - # Offense count: 42 # Cop supports --auto-correct. Style/CaseLikeIf: @@ -124,15 +90,3 @@ Style/HashAsLastArrayItem: # Cop supports --auto-correct. Style/KeywordParametersOrder: Enabled: false - -# Offense count: 458 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: line_count_dependent, lambda, literal -Style/Lambda: - Enabled: false - -# Offense count: 279 -# Cop supports --auto-correct. -Style/RedundantRegexpEscape: - Enabled: false -- cgit v1.2.3