set up lint-staged via husky

(cherry picked from commit 98151fafbd9b248fce62f013cecd3d20d4d17006)
This commit is contained in:
Eric Bailey 2023-07-13 15:35:05 -07:00
parent 3bd891b01a
commit c83573bf97
4 changed files with 209 additions and 14 deletions

4
.husky/pre-commit Executable file
View file

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