@ifanrx/commitlint-config-standard-hgflow

1.3.0 • Public • Published

规范

遵循 Conventional Commits 规范

<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>`
<footer>

说明

  • feat: 新功能
  • fix: 修复 bug
  • chore: 杂活
  • refactor: 重构或代码优化
  • style: 代码格式类的修改
  • build: 打包构建相关
  • test: 测试相关
  • revert: 回退版本
  • docs: 只修改文档或注释
  • perf: 性能优化
  • ci: ci 配置

使用方法

pnpm install @ifanrx/commitlint-config-standard-hgflow @commitlint/cli -D
// .commitlintrc.js
module.exports = {
  extends: ['@ifanrx/commitlint-config-standard-hgflow'],
}

scope-enum

按各项目自行设定,例:

module.exports = {
  rules: {
    'scope-enum': [2, 'always', ['miniapp', 'dashboard', 'faas']],
  },
}

Readme

Keywords

none

Package Sidebar

Install

npm i @ifanrx/commitlint-config-standard-hgflow

Weekly Downloads

2

Version

1.3.0

License

MIT

Unpacked Size

1.54 kB

Total Files

3

Last publish

Collaborators

  • secops
  • yanjiajun
  • liuni
  • chenzixing
  • xunuo_ifanr