MiBand-TOTP/commitlint.config.js

22 lines
797 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

module.exports = {
extends: ["@commitlint/config-conventional"],
rules: {
"type-enum": [
2,
"always",
[
"bug", // 此项特别针对bug号用于向测试反馈bug列表的bug修改情况
"feat", // 新功能feature
"fix", // 修补bug
"docs", // 文档documentation
"style", // 格式(不影响代码运行的变动)
"refactor", // 重构即不是新增功能也不是修改bug的代码变动
"test", // 增加测试
"chore", // 构建过程或辅助工具的变动
"revert", // feat(pencil): add graphiteWidth option (撤销之前的commit)
"merge" // 合并分支, 例如: merge前端页面 feature-xxxx修改线程地址
]
]
}
}