Hangar/frontend/.husky/pre-commit
2022-12-29 15:37:54 -08:00

9 lines
221 B
Bash
Executable File

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
cd frontend
pnpm prettier --write src/types/generated/**.*
git add src/types/generated/**.*
#pnpm run lint:typecheck TODO uncomment when all tsc errors are fixed
pnpm lint-staged