Skip to content

fix(lint): 🔧 exclude .claude/ from yamllint#159

Merged
justapithecus merged 1 commit into
mainfrom
andrew/fix/lint/yamllint-gitignore
Feb 26, 2026
Merged

fix(lint): 🔧 exclude .claude/ from yamllint#159
justapithecus merged 1 commit into
mainfrom
andrew/fix/lint/yamllint-gitignore

Conversation

@justapithecus

Copy link
Copy Markdown
Member

Summary

Add ignore: .claude/ to .yamllint.yaml so task lint doesn't fail on untracked worktree YAML files.

Highlights

  • yamllint -s . walks the full directory tree, ignoring .gitignore
  • .claude/worktrees/ can contain YAML with long lines, failing lint locally
  • Native yamllint ignore directive is the correct fix — no Taskfile change needed

Test plan

  • task lint passes with .claude/worktrees/ present locally

🤖 Generated with Claude Code

Use yamllint's native ignore-from-file directive to inherit all
.gitignore exclusions. Prevents lint failures from untracked files
like .claude/worktrees/ without maintaining a separate ignore list.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@justapithecus justapithecus force-pushed the andrew/fix/lint/yamllint-gitignore branch from de51d6b to 346d4b1 Compare February 26, 2026 04:36
@justapithecus justapithecus merged commit d384587 into main Feb 26, 2026
8 checks passed
@justapithecus justapithecus deleted the andrew/fix/lint/yamllint-gitignore branch February 26, 2026 04:38
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