Skip to content

Remove superfluous excludes for Style cops

What does this MR do and why?

This removes superfluous excludes for the Style/* cops.

This contributes to the overall effort in #340515 and is a prerequisite to merge !88480 (closed) (detecting superfluous/orphaned cop excludes in .rubocop_todo).

A full list of superfluous (and missing file) excludes is in this job log: https://gitlab.com/KevSlashNull/gitlab/-/jobs/2503408370

How to set up and validate locally

  1. Run bundle exec rubocop <files> where <files> are the file paths that were removed in this MR.

However, if the pipeline passes, the cop exclusions were indeed superfluous or the excluded files were deleted.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Kev

Merge request reports