chore: use commitlint via npm in pre-commit

This commit is contained in:
Christopher Hiller
2022-12-13 14:55:28 -08:00
parent 6c61eb8f4e
commit b959d7a141

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx commitlint --edit ${1}
npm run lint:commit -- --edit ${1}