Use lint-staged with Husky to only lint changed files

This commit is contained in:
Alex Gleason
2021-09-15 11:00:50 -05:00
parent dbc20362fd
commit 38bac67b71
3 changed files with 175 additions and 8 deletions

View File

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