husky-add-issue-tracker
v0.1.1
Published
Add issue tracker task to commit message
Downloads
838
Maintainers
Readme
husky-add-issue-tracker
Add this module to automatically add issue tracker task number to commit messages.
For example, if you are on branch XXX-666-add-legacy-code
and you add a commit with
message added some legacy code
, you message will turn into XXX-666: added some legacy code
.
Install
npm i husky-add-issue-tracker
Usage (package.json)
{
"husky": {
"hooks": {
"prepare-commit-msg": "husky-add-issue-tracker"
}
}
}