T S Vallender

A photo of me, Trevor Vallender

Rubocopping legacy applications

Bringing Rubocop enforcement to legacy applications can be both valuable and a headache.

Here’s a reasonable workflow:

Avoiding littering git blame

The downside of performing a large scale change to the codebase like this is you end up with git blame reporting an uninteresting and irrelevant commit for most lines of the codebase. We can tell git to ignore certain commits for the purpose of blames, however.