Permalink
Browse files

feat: add commit message validation to git precommit hook

  • Loading branch information...
XadillaX committed Jan 7, 2016
1 parent b57f469 commit 8e178f24ef23a190c24f3c0495715d00d0835f44
Showing with 5 additions and 2 deletions.
  1. +5 −2 package.json
@@ -26,12 +26,14 @@
"jsxhint": "^0.15.1",
"mocha": "^2.3.4",
"precommit-hook": "^3.0.0",
"should": "^8.0.1"
"should": "^8.0.1",
"validate-commit-msg": "^1.0.0"
},
"scripts": {
"test": "make test",
"lint": "./node_modules/.bin/jsxhint .",
"validate": "npm ls"
"validate": "npm ls",
"commit-msg": "./node_modules/.bin/validate-commit-msg"
},
"repository": {
"type": "git",
@@ -53,6 +55,7 @@
},
"homepage": "https://github.com/XadillaX/Toshihiko",
"pre-commit": [
"commit-msg",
"lint",
"validate",
"test"

0 comments on commit 8e178f2

Please sign in to comment.