rickvanlieshout.com/.husky/pre-commit

7 lines
115 B
Plaintext
Raw Normal View History

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install commitlint --edit "$1"
npm run lint:staged
2022-09-10 11:25:39 +02:00
npm run test