【文件属性】:
文件名称:conventional-commits-detector:检测您的存储库正在使用哪种提交消息约定
文件大小:65KB
文件格式:ZIP
更新时间:2021-05-13 14:17:20
conventions commit-conventions commit-message JavaScript
常规提交检测器
:magnifying_glass_tilted_left: 检测您的存储库正在使用哪种提交消息约定。
目录
特征
检测以下提交约定:
角度的
原子
余烬
埃斯林特
jQuery的
jshint
安装
要安装conventional-commits-detector工具,请运行以下命令:
yarn [global] add [--dev] conventional-commits-detector
用法
有两种方法可以将conventional-commits-detector用作CLI工具,也可以通过编程方式使用。
以编程方式
const conventionalCommitsDetector = require ( `conventional-commits-detector` ) ;
conventionalCommitsDetector ( [
`test(matchers): add support
【文件预览】:
conventional-commits-detector-master
----.eslintrc(41B)
----package.json(2KB)
----mocha.opts(74B)
----.nycrc(38B)
----LICENSE(1KB)
----CONTRIBUTING.md(1KB)
----src()
--------index.js(972B)
--------detectors.js(1KB)
--------index.spec.js(2KB)
--------cli.js(928B)
----.gitignore(55B)
----.codecov.yml(13B)
----.circleci()
--------config.yml(926B)
----README.md(4KB)
----yarn.lock(144KB)
----.gitattributes(19B)