🔧 chore: add lint-staged for pre-commit formatting

- Install lint-staged to format staged files before commit
- Update pre-commit hook to run lint-staged then type-check
- Auto-format ts, tsx, js, jsx, json, md, svelte, astro files
This commit is contained in:
Wuesteon 2025-12-03 02:04:41 +01:00
parent ea3582d487
commit 86da45a0c8
4 changed files with 163 additions and 0 deletions

View file

@ -1 +1,2 @@
pnpm exec lint-staged
pnpm run type-check