feat: add staged pre-commit for prettier & eslint

This commit is contained in:
Bart van der Braak 2023-08-02 02:52:12 +02:00
parent 4bb3b7b370
commit 39a67abd6c
3 changed files with 365 additions and 1 deletions

4
.husky/pre-commit Executable file
View file

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