commitlint是一个用于帮助你的团队遵循特定提交消息约定(convention)的工具。它主要用于自动化检查Git提交消息是否符合预期的格式和标准。 commitlint的功能 自动化检查:commitlint通过配置规则,可以自动化地检查每一次Git提交的消息内容,确保它们符合团队的约定。 提高代码质量:通过规范提交消息,commitlint有助于团队成员之间更...
PS C:\...\MyProj> npx husky add .husky/commit-msg 'npx --no-install commitlint --edit $1' Usage husky install [dir] (default: .husky) husky uninstall husky set|add <file> [cmd] This is just confusing, because what I have written actually follows the third line of...