Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat: add commit message validation to git precommit hook
  • Loading branch information
XadillaX committed Jan 7, 2016
1 parent b57f469 commit 8e178f2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Expand Up @@ -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",
Expand All @@ -53,6 +55,7 @@
},
"homepage": "https://github.com/XadillaX/Toshihiko",
"pre-commit": [
"commit-msg",
"lint",
"validate",
"test"
Expand Down

0 comments on commit 8e178f2

Please sign in to comment.