Hacker News new | ask | show | jobs
by lazystar 520 days ago
> auto fixing linters

any advice on how to implement an auto linter in an old codebase? i hate losing the git blame info.

1 comments

I use a .git-blame-ignore-revs file. So if you run the fix once, dump that commit in the file and use it when you use git blame, it'll exclude blame in that commit.

https://www.stefanjudis.com/today-i-learned/how-to-exclude-c...

awesome, ty!