nice-commit
v0.0.8
Published
规范 Git Commit
Downloads
54
Readme
nice-commit
自动创建 Git Commit Hook 进行规范检测,主要检测以下内容:
使用
1. 在项目中执行安装
$ npm i nice-commit --save-dev
# or
$ yarn add nice-commit --dev2. 创建配置文件
$ npx nice-commit
# or
$ yarn exec nice-commit项目中创建配置文件如下
.editorconfig.eslintrc.js.eslintignore.huskyrc.commitlintrc.js
注意:安装模块需要项目存在 package.json
