You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Autocorrect entries from a .rubocop_todo.yml one at a time, committing each to git as it goes.
Why do I want it?
Mass running Rubocop autocorrections on a legacy codebase in a way that makes it much easier to debug using git bisect and to git revert if something either goes wrong or goes against the tastes of the team.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What does it do?
Autocorrect entries from a
.rubocop_todo.ymlone at a time, committing each togitas it goes.Why do I want it?
Mass running Rubocop autocorrections on a legacy codebase in a way that makes it much easier to debug using
git bisectand togit revertif something either goes wrong or goes against the tastes of the team.How does it work:
Working bash script here: https://gist.github.com/jtannas/7795ad044aaa529f97937eb07f19b902
Beta Was this translation helpful? Give feedback.
All reactions