Ask HN: What are some useful pre-commit hooks?
I just discovered that [black](https://github.com/ambv/black) can be set up as a git pre-commit hook.
What are some other hooks that people have found useful?
What are some other hooks that people have found useful?
Of course, most people use pre-commit hooks for code linting/formatting nowadays. You can check the project called Husky if you're using Node.js in your projects.