Skip to content

Commit c0bd68f

Browse files
committed
chore(ci): update husky commit-msg hook
1 parent 814259b commit c0bd68f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --opts mocha.opts --timeout 10000",
1010
"coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
1111
"semantic-release": "semantic-release",
12-
"travis-deploy-once": "travis-deploy-once",
13-
"commitmsg": "commitlint -e $GIT_PARAMS"
12+
"travis-deploy-once": "travis-deploy-once"
1413
},
1514
"bin": {
1615
"sass-lint": "./bin/sass-lint.js"
@@ -81,7 +80,8 @@
8180
"husky": {
8281
"hooks": {
8382
"pre-commit": "npm run pretest",
84-
"pre-push": "npm run preversion"
83+
"pre-push": "npm run preversion",
84+
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
8585
}
8686
},
8787
"release": {

0 commit comments

Comments
 (0)