Skip to content

Commit 14fa906

Browse files
authored
chore: ignore .worktrees/ in the repo gitignore (#4334)
Add `.worktrees/` to the repo `.gitignore`. The pre-push hook runs `oxfmt --check .` and `oxlint .` over the whole tree, and those tools only read the in-repo ignore files (not a user's global gitignore). Local git-worktree checkouts placed under `.worktrees/` therefore got linted/formatted, failing the hook on unrelated code. Ignoring the directory keeps both tools out of worktree checkouts. No source changes.
1 parent 84add4a commit 14fa906

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,6 @@ apps/**/public/build
7676
ailogger-output.log
7777
# per-package vitest timing capture (transient; merged into root test-timings.json)
7878
.vitest-timing.json
79+
80+
# local git worktree checkouts (not source) — keeps oxfmt/oxlint from descending into them
81+
.worktrees/

0 commit comments

Comments
 (0)