Proof of Concept of using Husky in a Java project with Maven
If you want to reproduce these features in your project, follow this how to
npm install
In order to use Commitzen to aid you write your commits following the Conventional Commit Standards you just need type:
git commit
The following selection options will appear on CLI and you just need to follow the steps
In case you already know the Conventional Commit Standards, just write your commit, when you finish it, husky will run CommitLint in your commit to check if it is following the standads.
git commit -m "message not following conventional commit standrds"
It is possible to configure several other hooks.
In this project there is only a git push hook besides the commit check that will run build and tests of java project.
git push
npm run test
👤 Bruno Habermann
- Github: @bhabermann
- LinkedIn: @brunohabermann
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator