diff --git a/.prettierignore b/.prettierignore index 63df78a4..f6dbee72 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,6 +1,9 @@ # Dependencies & build output node_modules/ .svelte-kit/ + +# Scratch worktrees (git-ignored) — full checkouts of this repo +.claude/ build/ dist/ coverage/ diff --git a/eslint.config.js b/eslint.config.js index 9f42c9b6..9ddc8762 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -21,6 +21,10 @@ export default ts.config( ignores: [ "node_modules/", ".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/", "dist/", "coverage/",