RuboCop in legacy projects, part 2: Focus on the present

Applying your style guide selectively is the way to stay sane, but takes a little work

Scott Matthewman

--

Photo by Kevin Ku on Unsplash

TL;DR Relax about the state of your old code (for now); work out how to make your new code (including changes) conform to your style first.

--

--

Scott Matthewman

Scott is a software developer during the day and a theatre critic & director of an evening. Which is the worst superhero identity ever.