GitLab Housekeeper keep for fixing autocorrectable rubocop rules
What does this MR do and why?
GitLab Housekeeper keep for fixing autocorrectable rubocop rules
This is an initial implementation of a
Keep
which looks through all our existing exclusions in .rubocop_todo/
and
finds autocorrectable ones.
It then breaks down the list of Exclude
into small chunks and fixes a
small number of them at a time.
You can see some example MRs it generated at:
- Fix 1 rubocop violations for Gemspec/Deprecated... (!144559)
- Fix 20 rubocop violations for Graphql/Descriptions (!144560)
- Fix 1 rubocop violations for GraphQL/FieldDefin... (!144561)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Edited by Dylan Griffith