feat: add lint-staged

This commit is contained in:
Yifei Zhang
2023-03-28 17:51:22 +00:00
parent 83400093a2
commit e648a59b1f
8 changed files with 467 additions and 61 deletions

4
.husky/pre-commit Executable file
View File

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