chore(tooling): keep lint and format out of the scratch worktrees

.claude/worktrees holds full checkouts of this repo, generated .svelte-kit
trees included, so 'eslint .' was linting every in-flight branch — 410 errors,
none of them ours. Same root cause the doc-link checker hit.
This commit is contained in:
2026-08-20 19:55:29 +02:00
parent 6b90582e3e
commit 63d4df0cde
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -1,6 +1,9 @@
# Dependencies & build output # Dependencies & build output
node_modules/ node_modules/
.svelte-kit/ .svelte-kit/
# Scratch worktrees (git-ignored) — full checkouts of this repo
.claude/
build/ build/
dist/ dist/
coverage/ coverage/
+4
View File
@@ -21,6 +21,10 @@ export default ts.config(
ignores: [ ignores: [
"node_modules/", "node_modules/",
".svelte-kit/", ".svelte-kit/",
// Scratch worktrees (git-ignored) hold full checkouts of this repo,
// including their own generated .svelte-kit trees. Without this, `eslint .`
// lints every in-flight branch and reports its generated code as ours.
".claude/",
"build/", "build/",
"dist/", "dist/",
"coverage/", "coverage/",