Files
new-daping-vue/.commitlintrc.js
PC-202306242200\Administrator 10ca82f012 first commit
2026-03-28 23:15:40 +08:00

30 lines
768 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",
[
"feat", // 功能
"fix", // bug
"test", // 测试
"perf", // 优化
"refactor", // 重构
"docs", // 文档
"chore", // 辅助工具配置
"style", // 格式 适合lint fix...
"revert", // 回滚
"merge", // 合并
"sync", // 同步同步主线或分支上的fix修复等
],
],
"type-case": [2, "always", "lower-case"],
"type-empty": [2, "never"],
"scope-empty": [0],
"scope-case": [0],
"subject-full-stop": [0, "never"],
"subject-case": [0, "never"],
"header-max-length": [0, "always", 72],
},
};