Remove superfluous excludes for Lint cops
What does this MR do and why?
This removes superfluous excludes for the Lint/* cops.
Some Lint cops are disabled, so we’re not touching them, unless the file was deleted.
This contributes to the overall effort in #340515 (closed) 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
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Kev