added husky & lint-staged

This commit is contained in:
Ren Amamiya
2023-02-25 15:45:27 +07:00
parent 19b99349a9
commit f03b396251
4 changed files with 1272 additions and 913 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