chore: add husky pre commit

This commit is contained in:
Sonny
2023-11-26 02:56:41 +01:00
parent 9a5f661df4
commit f64476de37
4 changed files with 8451 additions and 3 deletions

1
.husky/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
_

View File

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