Commit 0c1ccbfa by 无尘

chore: 增加 git commit 校验

parent 5f97943d
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-16 16:36:48
* @LastEditors: 无尘
* @LastEditTime: 2020-07-20 14:27:25
* @LastEditTime: 2020-08-14 11:25:55
-->
# 好办 4.0 前端项目
......@@ -36,7 +36,15 @@ This will automatically open http://localhost:8087
npm run build
```
## commitlint
>`<type>: <subject>`
>注意:冒号后面一定要加空格,否则不能通过 commitlint 验证
- demo
```
git commit -m 'feat: 增加 xxx 功能'
git commit -m 'fix: 修复 xxx 功能'
```
## Browsers support
......
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