@xyclos/commitlint-plugin-references
v0.0.1
Published
Custom commitlint rules which allows requiring references only for specific commit types.
Downloads
412
Maintainers
Readme
@xyclos/commitlint-plugin-references
Custom commitlint rules which allows requiring references only for specific commit types..
Install
npm i -D @xyclos/commitlint-plugin-references
Usage
module.exports = {
plugins: [
"@xyclos/references"
],
rules: {
"references-empty-enum": [
2,
"never",
[
"fix",
"feat"
]
]
},
parserPreset: {
parserOpts: {
issuePrefixes: ["ABC-"]
}
}
}