A Commitizen adapter for JIRA smart commits.
yarn add -D @endemolshinegroup/cz-jira-smart-commit
Add the following to your .czrc
:
{
"path": "@endemolshinegroup/cz-jira-smart-commit"
}
The adapter can be customised by specifying additional options in .czrc
:
{
"path": "@endemolshinegroup/cz-jira-smart-commit",
"@endemolshinegroup/cz-jira-smart-commit": {
"pullRequestsOnly": true,
"scopes": {
"api": "For API commits",
"site": "For frontend commits",
"docs": "For documentation commits"
}
}
}