@lexiang/commitlint-plugin-subject
v0.1.1
Published
commitlint subject plugin
Downloads
758
Readme
Introduction
Verify git message subject contain some regexp string
Installation
yarn add @lexiang/commitlint-plugin-subject -D
Usage
module.exports = {
plugins: ['@lexiang/commitlint-plugin-subject'],
rules: {
'subject-regexp': [2, 'always', /--bug=\d+/],
},
};