Package Exports
- @atifsyedali/husky-add-issue-tracker
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@atifsyedali/husky-add-issue-tracker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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"
}
}
}