logoalt Hacker News

conradludgateyesterday at 9:37 AM1 replyview on HN

I've worked in several projects where running the tests locally automatically install pre-commit hooks and I've wanted to commit warcrimes because of it.

Don't do that, just dont.


Replies

ardeaveryesterday at 11:02 PM

At my last job, we ran all of our tests, linting/formatting, etc. through pre-commit hooks. It was apparently a historical relic of a time where five developers wanted to push directly to master without having to configure CI.

I too was about to become a war criminal.