Commit be9f029d authored by huanglu's avatar huanglu

docs: 完善文档

parent 2a1b63fd
......@@ -42,11 +42,11 @@
### commit 插件集成方式
- 安装插件:
> npm install -D validate-commit-msg husky
- npm install -D validate-commit-msg husky
- yarn add -D validate-commit-msg husky
> yarn add -D validate-commit-msg husky
- 新建.vcmrc 文件
```
```json
{
"types": ["feat", "fix", "docs", "style", "refactor", "perf", "test", "chore"],
"scope": {
......@@ -64,7 +64,7 @@
}
```
- git 钩子中执行
```
```json
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment