Gem update gitlab-styles
What does this MR do and why?
My editor's plugins no longer support Rubocop 0.x - I wanted to work on #338 (closed).
We were currently on rubocop version 0.x, this updates it to be on 1.x version by updating the dependency gitlab-styles
and regenerating .rubocop_todo.yml
I did not want to apply autocorrections in this merge request, and would rather submit a follow up MR.
- That would allow for properly isolating it from gitlab using
.git-blame-ignore-revs
: https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revltrevgt - Less risk of merge conflicts
- Easier to review
- Longer MR time distracts me from my core mission: fixing #338 (closed).
My editor was really struggling with working with RuboCop 0.x as some plugins do not support 0.x anymore. So this alleviates that problem.
CLI Outputs
[zarthus@windows ~/Dev/gitlab-triage] jah/338/gitlab-styles-upgrade ✔ $ bundle exec rubocop --auto-gen-config [3f06a68]
Phase 1 of 2: run Layout/LineLength cop
Inspecting 194 files
.........CC..CC.C.........C..................C..CC.......C..C..C................CC....C.................C...............CC.C...C.......C....CC...C.........................................C......
194 files inspected, 81 offenses detected, 57 offenses autocorrectable
Created .rubocop_todo.yml.
Phase 2 of 2: run all cops
Inspecting 194 files
.CCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCWCCWCCCCCCWCCCCCCCCCCWWCWCCC..C.CCCCCCCCCCWCCCCCC.WCCCCCCWWCCCCCCCCWWCCCCCCCCCCCCCCCCCCCCCCCWCCWCC.CWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC.CCCCCCCCCC.
194 files inspected, 1012 offenses detected, 635 offenses autocorrectable
Created .rubocop_todo.yml.
Edited by Jos Ahrens