From 1c4d4a4120c38390dc1d2013dd5aeba9d8db1ef6 Mon Sep 17 00:00:00 2001 From: ray <1490493387@qq.com> Date: Thu, 19 Sep 2024 13:47:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(commit-msg):=20=E8=A7=84=E8=8C=83=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/commit-msg | 1 + commitlint.config.mjs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index e69de29..fd2bf70 100644 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -0,0 +1 @@ +npx --no-install commitlint --edit $1 diff --git a/commitlint.config.mjs b/commitlint.config.mjs index 94c304c..8895053 100644 --- a/commitlint.config.mjs +++ b/commitlint.config.mjs @@ -21,7 +21,7 @@ export default { "ci", // 修改 CI 配置、脚本 "revert", // 回滚 commit "chore", // 对构建过程或辅助工具和库的更改(不影响源文件、测试用例) - "wip", // 对构建过程或辅助工具和库的更改(不影响源文件、测试用例) + "wip", // 开发临时提交 ], ], "subject-case": [0], // subject大小写不做校验