Recently on twitter there was a thread about precommit hooks and whether or not they should be required:
Precommit checks can help you move faster in CI but they can be stifling if they're required.
One of the things we've done at Webflow is to make a few things (like prettier formatting) a default pre commit hook and provided a way for devs to include the checks they care about and easily disable those by commenting them out.
Here's how we do it:
Would you be interested in seeing the code for how we do this? If so, send me a tweet at @chaseadamsio and I'll bump this post up in my list of posts to work on.