如果我使用 @commitlint/config-conventional,那么使用 Commmitlint 的第一条提交消息应该是什么?是壮举:第一次提交还是构建:第一次提交还是琐事:第一次提交?
git commit -m "feat: 测试 commitlint 库" @commitlint/cli@16.2.3 - 检查你的提交消息
[input] 如果省略 --edit、--env、--from 和 --to 则从 stdin 读取
Options:
-c, --color toggle colored output [boolean] [default: true]
-g, --config path to the config file [string]
--print-config print resolved config [boolean] [default: false]
-d, --cwd directory to execute in
[string] [default: (Working Directory)]
-e, --edit read last commit message from the specified file or
fallbacks to ./.git/COMMIT_EDITMSG [string]
-E, --env check message in the file at path given by environment
variable …Run Code Online (Sandbox Code Playgroud)