From 901b715063ee513e6470e647d4b54d1bddf5fd31 Mon Sep 17 00:00:00 2001 From: Vitali Tatarintev Date: Mon, 28 Mar 2022 13:26:24 +0200 Subject: [PATCH] Move Lint/MixedRegexpCaptureTypes into separate TODO file --- .rubocop_todo.yml | 17 ----------------- .../lint/mixed_regexp_capture_types.yml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 17 deletions(-) create mode 100644 .rubocop_todo/lint/mixed_regexp_capture_types.yml diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index fda144d68f5942..ac3734779621e3 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -18,23 +18,6 @@ Lint/EmptyFile: - 'db/seeds.rb' - 'ee/db/geo/seeds.rb' -# Offense count: 13 -Lint/MixedRegexpCaptureTypes: - Exclude: - - 'app/models/alert_management/alert.rb' - - 'app/models/integrations/ewm.rb' - - 'app/uploaders/file_uploader.rb' - - 'ee/lib/gitlab/code_owners/reference_extractor.rb' - - 'lib/gitlab/ci/pipeline/expression/lexeme/string.rb' - - 'lib/gitlab/dependency_linker/gemfile_linker.rb' - - 'lib/gitlab/diff/suggestions_parser.rb' - - 'lib/gitlab/github_import/representation/note.rb' - - 'lib/gitlab/metrics/system.rb' - - 'lib/gitlab/request_profiler/profile.rb' - - 'lib/gitlab/slash_commands/issue_move.rb' - - 'lib/gitlab/slash_commands/issue_new.rb' - - 'lib/gitlab/slash_commands/run.rb' - # Offense count: 200 # Cop supports --auto-correct. Lint/RedundantCopDisableDirective: diff --git a/.rubocop_todo/lint/mixed_regexp_capture_types.yml b/.rubocop_todo/lint/mixed_regexp_capture_types.yml new file mode 100644 index 00000000000000..f9872fdbd7ff98 --- /dev/null +++ b/.rubocop_todo/lint/mixed_regexp_capture_types.yml @@ -0,0 +1,16 @@ +--- +Lint/MixedRegexpCaptureTypes: + Exclude: + - 'app/models/alert_management/alert.rb' + - 'app/models/integrations/ewm.rb' + - 'app/uploaders/file_uploader.rb' + - 'ee/lib/gitlab/code_owners/reference_extractor.rb' + - 'lib/gitlab/ci/pipeline/expression/lexeme/string.rb' + - 'lib/gitlab/dependency_linker/gemfile_linker.rb' + - 'lib/gitlab/diff/suggestions_parser.rb' + - 'lib/gitlab/github_import/representation/note.rb' + - 'lib/gitlab/metrics/system.rb' + - 'lib/gitlab/request_profiler/profile.rb' + - 'lib/gitlab/slash_commands/issue_move.rb' + - 'lib/gitlab/slash_commands/issue_new.rb' + - 'lib/gitlab/slash_commands/run.rb' -- GitLab