1.2.4 • Published 3 years ago

commitlint-plugin-regex-match v1.2.4

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 years ago

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

Usage

// commitlint.config.js
module.exports = {
  plugins: ['commitlint-plugin-regex-match'],
  rules: {
    'body-match': [2, 'always', 'JIRA-\\d+'],
  },
};