- 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