This provides you a binary that you can use as a githook to prepare a commit message following Angular guidelines and display documentation about it.
To be used in addition to validate-commit-msg.
- Config for husky :
"scripts": {
"preparecommitmsg": "prepare-commit-msg-angular",
}
- Config for ghooks :
"config": {
"ghooks": {
"prepare-commit-msg": "prepare-commit-msg-angular $2 $3"
}
}