Skip to content

chore: ignore .claude/ in git, eslint, and prettier#596

Merged
rickstaa merged 1 commit intomainfrom
chore/gitignore-claude
Mar 24, 2026
Merged

chore: ignore .claude/ in git, eslint, and prettier#596
rickstaa merged 1 commit intomainfrom
chore/gitignore-claude

Conversation

@rickstaa
Copy link
Copy Markdown
Member

Summary

  • Adds .claude/ to .gitignore, .prettierignore, and eslint.config.mjs
  • Prevents local Claude Code tooling state (worktrees, settings) from being tracked or linted

Test plan

  • Verify prettier . --check passes without scanning .claude/ worktrees
  • Verify eslint . passes without scanning .claude/ worktrees

🤖 Generated with Claude Code

Local Claude Code tooling state (worktrees, settings) should not be
tracked or linted.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 24, 2026 12:42
@rickstaa rickstaa requested a review from ECWireless as a code owner March 24, 2026 12:42
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Mar 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
explorer-arbitrum-one Ready Ready Preview, Comment Mar 24, 2026 0:44am

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR prevents local Claude Code state under .claude/ from being tracked by git or processed by formatting/linting tools, keeping repository tooling runs clean and avoiding accidental commits of local worktree/config data.

Changes:

  • Add .claude/ to .gitignore.
  • Add .claude to .prettierignore.
  • Add .claude/** to ESLint flat-config globalIgnores.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
eslint.config.mjs Excludes .claude/** from ESLint traversal via globalIgnores.
.prettierignore Prevents Prettier from checking files under .claude.
.gitignore Prevents accidental commits of .claude/ content.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rickstaa rickstaa merged commit b7aec3c into main Mar 24, 2026
11 of 12 checks passed
@rickstaa rickstaa deleted the chore/gitignore-claude branch March 24, 2026 12:49
@github-project-automation github-project-automation Bot moved this from Triage to Done in Engineering Roadmap Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants