@tawa/commitlint-plugin-rules
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-alpha.2 • Public • Published

@tawa/commitlint-plugin-rules

tawa commitlint 插件,用于开发自定义 commitlint rule

Install

yarn add -D @tawa/commitlint-plugin-rules

Configure

// commitlint.config.js
module.exports = {
  plugins: ['@tawa/commitlint-plugin-rules'],
  extends: [],
  rules: [
    ...
  ]
}

Rules

scope-not-empty

message type 为 feat、fix 时,scope 不能为空

Readme

Keywords

none

Package Sidebar

Install

npm i @tawa/commitlint-plugin-rules

Weekly Downloads

2

Version

0.1.0-alpha.2

License

ISC

Unpacked Size

2.79 kB

Total Files

6

Last publish

Collaborators

  • superwunc
  • xiaoshiming
  • thefirstsunday