diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index fda144d68f594206b9ed833f8d50ceec346c200f..ac3734779621e342f1e7fd9982f9d275b0484677 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 0000000000000000000000000000000000000000..f9872fdbd7ff9867a73f948b81eba034f48d6245 --- /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'