Skip to content

Commit

Permalink
chore: move husky commit-msg script to husky.hooks (#6180)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmair authored Mar 28, 2021
1 parent 80d8602 commit d3e0c05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
},
"scripts": {
"changelog": "npx conventional-changelog-cli -p angular -i CHANGELOG.md -s",
"commitmsg": "validate-commit-msg",
"build:spec:browser": "echo \"Browser test is not working currently\" && exit -1 && webpack --config spec/support/webpack.mocha.config.js",
"lint_spec": "tslint -c spec/tslint.json -p spec/tsconfig.json \"spec/**/*.ts\"",
"lint_src": "tslint -c tslint.json -p src/tsconfig.base.json \"src/**/*.ts\"",
Expand Down Expand Up @@ -180,7 +179,8 @@
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
"pre-commit": "lint-staged",
"commit-msg": "validate-commit-msg"
}
}
}

0 comments on commit d3e0c05

Please sign in to comment.