feat: precommit (#363)

* add .husky/pre-commit
* run lint on precommit
This commit is contained in:
Anish Lakhwara 2023-09-07 13:03:22 -07:00 committed by GitHub
parent b95c535821
commit d42010a598
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 1 deletions

4
.husky/pre-commit Executable file
View file

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