Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit de900fa

Browse files
author
Kent C. Dodds
committed
chore(githooks): Use validate-commit-msg
I open sourced angular's validate-commit-msg script so we're going to use that one now
1 parent 4cda5a3 commit de900fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
},
7474
"config": {
7575
"ghooks": {
76-
"commit-msg": "node scripts/pre-commit-git-check.js && npm run code-checks && npm run test && npm run check-coverage"
76+
"commit-msg": "./node_modules/.bin/validate-commit-msg && npm run code-checks && npm run test && npm run check-coverage"
7777
}
7878
},
7979
"description": "AngularJS directive which takes JSON representing a form and renders to HTML",
@@ -122,6 +122,7 @@
122122
"sinon": "1.15.4",
123123
"sinon-chai": "2.8.0",
124124
"uglify-loader": "1.2.0",
125+
"validate-commit-msg": "1.0.0",
125126
"webpack": "1.10.2",
126127
"with-package": "0.2.0"
127128
},

0 commit comments

Comments
 (0)