From 4f4e45a54353410af5b4e656f95121e6e23d98f2 Mon Sep 17 00:00:00 2001 From: Vitali Tatarintev Date: Wed, 27 Apr 2022 11:27:19 +0200 Subject: [PATCH] Move Style/MissingRespondToMissing into separate TODO file --- .rubocop_todo.yml | 4 --- .../style/missing_respond_to_missing.yml | 27 +++++++++++++++++++ 2 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 .rubocop_todo/style/missing_respond_to_missing.yml diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index b3207c1923fc5a..528cc6e16888a1 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -281,10 +281,6 @@ Style/KeywordParametersOrder: Style/Lambda: Enabled: false -# Offense count: 21 -Style/MissingRespondToMissing: - Enabled: false - # Offense count: 35 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, MinBodyLength. diff --git a/.rubocop_todo/style/missing_respond_to_missing.yml b/.rubocop_todo/style/missing_respond_to_missing.yml new file mode 100644 index 00000000000000..4d6025863423f4 --- /dev/null +++ b/.rubocop_todo/style/missing_respond_to_missing.yml @@ -0,0 +1,27 @@ +--- +Style/MissingRespondToMissing: + # Offense count: 21 + # Temporarily disabled due to too many offenses + Enabled: false + Exclude: + - 'app/controllers/projects/application_controller.rb' + - 'app/models/network/commit.rb' + - 'app/services/notification_service.rb' + - 'ee/app/controllers/ee/groups/application_controller.rb' + - 'ee/app/models/elastic/migration_record.rb' + - 'ee/app/services/ee/audit_event_service.rb' + - 'lib/declarative_enum.rb' + - 'lib/gitlab/auth/ldap/dn.rb' + - 'lib/gitlab/fake_application_settings.rb' + - 'lib/gitlab/gitaly_client/storage_settings.rb' + - 'lib/gitlab/graphql/batch_key.rb' + - 'lib/gitlab/import_export/after_export_strategies/base_after_export_strategy.rb' + - 'lib/gitlab/legacy_github_import/client.rb' + - 'lib/gitlab/metrics/null_metric.rb' + - 'lib/gitlab/tracking/event_definition.rb' + - 'lib/kramdown/parser/atlassian_document_format.rb' + - 'lib/mattermost/session.rb' + - 'lib/uploaded_file.rb' + - 'qa/qa/runtime/release.rb' + - 'qa/qa/runtime/scenario.rb' + - 'spec/support/helpers/next_found_instance_of.rb' -- GitLab