chore(add husky): add standard and commitlint

This commit is contained in:
youxingzhi
2018-12-11 11:16:29 +08:00
parent 2b2b1419ad
commit 867ef2a7fa
8 changed files with 31 additions and 17 deletions

4
.huskyrc.yml Normal file
View File

@@ -0,0 +1,4 @@
hooks:
pre-commit:
- npm run standard
commit-msg: commitlint -E HUSKY_GIT_PARAMS