Skip to content

chore: skip claude worktrees in biome - #266

Merged
starc007 merged 1 commit into
mainfrom
chore/biome-ignore-worktrees
Nov 14, 2026
Merged

starc007 merged 1 commit into
mainfrom
chore/biome-ignore-worktrees

Conversation

@starc007

Copy link
Copy Markdown
Owner

Adds !!.claude/worktrees to the root biome.json file includes.

Why: Claude Code session worktrees live under .claude/worktrees/ and each has its own copy of biome.json. Biome 2 treats that as a second root config and fails bun run lint (and bun run check) locally with "Found a nested root configuration". The !! form keeps the folder out of Biome's file scan entirely, so it never sees those configs. A single ! would only skip linting files there.

Notes: .claude/worktrees is already git-ignored, so CI never had this problem; this only fixes local runs. Tested by putting a copy of biome.json and a file with a lint error under .claude/worktrees/: lint ran clean over the same 795 files and didn't touch either. bun run check passes.

@starc007
starc007 merged commit c4b58a9 into main Nov 14, 2026
1 check passed
@starc007
starc007 deleted the chore/biome-ignore-worktrees branch November 14, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant