Commit 3b14a7e
fix(lint): skip worktrees — the phantom the gitignore fix could not reach
The linter walks the filesystem with rglob, not git, so ignoring
.claude/worktrees/ did nothing for it: a local run during a parallel build still
reported 68 issues, every one inside a sibling agent's checkout and none in this
repository. Those checkouts are copies of this repo, so linting them
double-reports every file even when nothing is wrong.
Verified rather than assumed: clean before and after, --selftest green, and a
planted frontmatter violation in agents/ is still reported (2 issues) and
disappears when removed. A guard that has not been seen to fail is not known to
work, and that applies to a guard I just narrowed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 666627a commit 3b14a7e
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
252 | 257 | | |
253 | 258 | | |
254 | 259 | | |
| |||
0 commit comments