chore: lint before commit

This commit is contained in:
Isaac
2023-02-13 15:07:35 +00:00
parent c3d6d70316
commit 1daab7fda9
3 changed files with 268 additions and 4 deletions

4
.husky/pre-commit Normal file
View File

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