adds precommit hook

This commit is contained in:
ajaythapliyal
2023-02-09 10:03:56 +05:30
parent 449a87f424
commit b3136ba69d
3 changed files with 561 additions and 1 deletions

6
frontend/.husky/pre-commit Executable file
View File

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