chore: execute commitlint on commit-msg and not pre-commit

This commit is contained in:
Sergio Herrera Guzmán 2019-07-14 18:08:20 +02:00
parent cad5ac91e7
commit 2ffb2b5bf1

View File

@ -157,7 +157,7 @@
},
"husky": {
"hooks": {
"pre-commit": "commitlint -e $GIT_PARAMS"
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"license": "MIT",