commitlint-plugin-regex-match
v1.2.4
Published
The commitlint plugin to add function that allow match regex in the commit message
Downloads
37,428
Maintainers
Readme
commitlint-plugin-regex-match
The commitlint plugin to add function that allow match regex in the commit message
Install
npm install commitlint-plugin-regex-match --save-dev
To install & configure commitlint please refer to - [https://github.com/conventional-changelog/commitlint] (https://github.com/conventional-changelog/commitlint)
Usage
// commitlint.config.js
module.exports = {
plugins: ['commitlint-plugin-regex-match'],
rules: {
'body-match': [2, 'always', 'JIRA-\\d+'],
},
};