0.1.0-alpha.2 • Published 2 years ago
@tawa/commitlint-plugin-rules v0.1.0-alpha.2
@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 不能为空