chore: add lint staged

This commit is contained in:
2023-02-19 00:32:59 +08:00
parent e17f43ecac
commit 711a9c4546
4 changed files with 258 additions and 0 deletions

4
.husky/pre-commit Executable file
View File

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