This repository has been archived on 2026-05-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
vue-ts-example/.husky/commit-msg
T

6 lines
297 B
Plaintext

# 此钩子在 pre-commit 钩子成功完成后,用于检查提交消息。
echo "📝 [Commit-msg] 正在运行 commit-msg 钩子..."
# 在这里添加你的 commit message 验证逻辑,例如 commitlint
# npx --no -- commitlint --edit "$1"
echo "✅ [Commit-msg] commit-msg 钩子完成!"