Hangar/frontend/.husky/pre-commit

8 lines
151 B
Plaintext
Raw Normal View History

2022-02-28 01:29:58 +08:00
#!/bin/sh
2022-07-02 20:26:11 +08:00
. "$(dirname "$0")/_/husky.sh"
2022-02-28 01:29:58 +08:00
2022-07-02 20:26:11 +08:00
cd frontend
pnpm prettier --write src/types/generated/**.*
2022-11-21 05:29:04 +08:00
git add src/types/generated/**.*
2022-07-02 20:26:11 +08:00
pnpm lint-staged