commitlint-plugin-subject

commitlint plugin subject

please use @lexiang/commitlint-plugin-subject
Last updated 10 months ago by cattyhuang .
MIT · Original npm · Tarball · package.json
$ cnpm install commitlint-plugin-subject 
SYNC missed versions from official npm registry.

commitlint-plugin-subject

Verify git message subject contain some regexp string

Installation

npm install commitlint-plugin-subject --save-dev

Usage

module.exports = {
  extends: ['@commitlint/config-conventional'],
  plugins: ['subject'],
  rules: {
    'subject-regexp': [2, 'always', /--bug=\d+/]
  }
};

Current Tags

  • 1.1.0                                ...           latest (10 months ago)

2 Versions

  • 1.1.0 [deprecated]           ...           10 months ago
  • 1.0.0 [deprecated]           ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |