We use pre-commit hook at work to run tests before committing and we also run tests in GitHub actions on any PR to prevent human error. It's been working great for now.
The hook could also be used to lint commit messages if the company or project uses some automated changelog generator or some committing standard.
We use pre-commit hook at work to run tests before committing and we also run tests in GitHub actions on any PR to prevent human error. It's been working great for now.
The hook could also be used to lint commit messages if the company or project uses some automated changelog generator or some committing standard.
Thanks for adding this mate. I will make this hook, lint commit messages as well.