chore(husky): implement husky commit hooks to install, lint and format before commit

This commit is contained in:
Amruth Pillai
2022-03-08 08:11:47 +01:00
parent 54fd97b5ec
commit e52edaa552
7 changed files with 30 additions and 26 deletions

6
.husky/pre-commit Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
pnpm install
pnpm run lint
pnpm run format