Current collected state Current
Observed since 20 Oct, 21:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
印客学院 Git规范
commitlint-config支持配套的 commitlint 配置,用于对 git commit message 进行校验。
使用时,需要安装 @commitlint/cli:
npm install commitlint-config @commitlint/cli --save-dev
在 commitlint.config.js 中集成本包:
module.exports = {
extends: ['commitlint-config'],
};
可通过 husky 设置在 git commit 时触发 commitlint。
首先安装 husky:
npm install husky --save-dev
然后执行添加commit-msg:
npx husky add .husky/commit-msg 'npx commitlint --edit $1'
更多信息可参考 commitlint 文档。
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:fe85cc00c38cabd5b49c542e0db974ccdbc5440d2f51a4b80a1fa1c8cea66811