diff --git a/.husky/pre-commit b/.husky/pre-commit index 86bc6aa..00dc58d 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -11,7 +11,10 @@ echo "▎ pre-commit: lint" pnpm lint echo "▎ pre-commit: typecheck" -pnpm -r typecheck +# Root `tsc -b` builds the whole workspace graph once in dependency order +# (core's .d.ts before its consumers), rather than `pnpm -r typecheck` running +# each package's build independently. Same result, fewer redundant compiles. +pnpm typecheck echo "▎ pre-commit: tests" pnpm -r test diff --git a/eslint.config.js b/eslint.config.js index abf5eef..7069520 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -15,6 +15,7 @@ export default [ '**/node_modules/**', '**/target/**', // Rust/Cargo build output (generated JS in src-tauri/target) '**/.tsbuildinfo', + '.claude/**', // sibling agent worktrees — not part of this checkout's lint surface 'release-artifacts/**', 'apps/desktop/electron/**', // requires electron types — pending M6-rest ],