Hacker News new | ask | show | jobs
by XorNot 525 days ago
I don't like complaining linters. I do like auto fixing linters I can leave running in the background.
1 comments

> auto fixing linters

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

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!