validate-git-commit-msg

时间:2021-04-27 17:50:20
【文件属性】:
文件名称:validate-git-commit-msg
文件大小:505KB
文件格式:ZIP
更新时间:2021-04-27 17:50:20
JavaScript 验证Git提交消息 根据各种预设验证提交消息 安装 yarn add validate-git-commit-msg -D 特征 即使还有其他一些程序包也可以执行此操作,但该程序包的生活质量却发生了一些变化。 让您决定如何验证提交消息(请参阅) 它验证来自字符串和文件的提交文件 支持以下预设: 支持忽略模式 使用模块为消息着色 可以通过SILENT环境变量将日志静音 用法 与赫斯基 例如,使用Husky 。 " scripts " : { " commitmsg " : " validate-git-commit-msg " } 从CLI validate-git-commit-msg ' chore(package): some message ' validate-git-commit-msg -p eslint ' New: Awesome feature ' va
【文件预览】:
validate-git-commit-msg-master
----example.gif(451KB)
----yarn.lock(103KB)
----.prettierignore(13B)
----src()
--------presets()
--------interfaces.ts(443B)
--------index.ts(2KB)
--------helpers.ts(2KB)
----.babelrc(28B)
----.vscode()
--------extensions.json(130B)
--------settings.json(239B)
----.circleci()
--------config.yml(764B)
----.prettierrc.json(93B)
----tsconfig.json(556B)
----LICENSE(11KB)
----test()
--------fixtures()
--------index.spec.js(4KB)
--------presets.spec.js(12KB)
--------cli.spec.js(1KB)
--------helpers.spec.js(643B)
--------test-setup.js(326B)
--------mocha.opts(90B)
----tslint.json(345B)
----README.md(4KB)
----.editorconfig(171B)
----conventions()
--------jquery.md(2KB)
--------jshint.md(2KB)
--------angular.md(3KB)
--------ember.md(2KB)
--------eslint.md(2KB)
--------atom.md(1KB)
----.gitignore(117B)
----bin()
--------index.js(1KB)
----CHANGELOG.md(946B)
----gh-pages.js(288B)
----package.json(2KB)
----.nvmrc(3B)

网友评论