Use lint-staged in pre-commit hook

This commit is contained in:
Chi-Hsuan Huang 2022-04-06 16:57:29 +08:00
parent 44b4008849
commit 5bfcaa7f3f
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
pnpm nx affected:lint --uncommitted
pnpm exec lint-staged