Added husky

This commit is contained in:
MaxOvs19
2023-05-31 11:32:36 +03:00
parent 9e242ddf5d
commit 2c7c5c7d5c
2 changed files with 9 additions and 2 deletions

5
.husky/pre-commit Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run format
npm run lint