File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ . " $( dirname " $0 " ) /_/husky.sh"
3+
4+ npx --no-install commitlint --edit $1
Original file line number Diff line number Diff line change 11#! /bin/sh
22. " $( dirname " $0 " ) /_/husky.sh"
33
4- npm test
4+ npx --no-install lint-staged
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ . " $( dirname " $0 " ) /_/husky.sh"
3+
4+ exec < /dev/tty && git cz --hook || true
Original file line number Diff line number Diff line change 5656 "@commitlint/cli" : " ^12.0.1" ,
5757 "commitizen" : " 4.2.3"
5858 },
59- "husky" : {
60- "hooks" : {
61- "pre-commit" : " lint-staged" ,
62- "prepare-commit-msg" : " exec < /dev/tty && git cz --hook || true" ,
63- "commit-msg" : " commitLint -E HUSKY_GIT_PARAMS"
64- }
65- },
6659 "lint-staged" : {
6760 "*.{css,json,md}" : [
6861 " prettier --write" ,
You can’t perform that action at this time.
0 commit comments