workflow: enforce commit format

This commit is contained in:
Evan You
2018-01-14 17:38:58 -05:00
parent 334701584d
commit 1daeadb76d
2 changed files with 20 additions and 1 deletions
+2 -1
View File
@@ -17,7 +17,8 @@
"boot": "node scripts/bootstrap.js"
},
"gitHooks": {
"pre-commit": "lint-staged"
"pre-commit": "lint-staged",
"commit-msg": "node scripts/verifyCommitMsg.js"
},
"jest": {
"testEnvironment": "node",