build: switch pre-commit hook to pnpm lint-staged

Update .husky/pre-commit to run pnpm lint-staged instead of yarn.
This aligns the pre-commit hook with the project's package manager
and ensures lint-staged runs using pnpm's environment and caching.
This commit is contained in:
George·Dong 2026-01-03 23:39:29 +08:00
parent d10f6242f2
commit e782287b89

View File

@ -1 +1 @@
yarn lint-staged
pnpm lint-staged