chore: Ignore hidden `.claude` settings folder by zyfy29 · Pull Request #3738 · google/go-github

@zyfy29

ignore settings files like .claude/settings.local.json for claude code usage

@zyfy29

alexandear

Choose a reason for hiding this comment

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

I'm not sure we should add this change, as it may not be relevant for every developer who doesn't use Claude.

You can ignore .claude locally by modifying .git/info/exclude in your local repo copy or by using a global .gitignore configuration.

@codecov

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.11%. Comparing base (215d1ca) to head (8321318).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3738   +/-   ##
=======================================
  Coverage   91.11%   91.11%           
=======================================
  Files         187      187           
  Lines       16662    16662           
=======================================
  Hits        15181    15181           
  Misses       1294     1294           
  Partials      187      187           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gmlewis

I'm not sure we should add this change, as it may not be relevant for every developer who doesn't use Claude.

You can ignore .claude locally by modifying .git/info/exclude in your local repo copy or by using a global .gitignore configuration.

While I totally agree that it may not be relevant for every developer, I also think it is a simple change that could be helpful to some devs and to me it it feels similar to .DS_Store that helps out Mac devs... so I think we can simply just merge this and move on.

@gmlewis gmlewis changed the title chore: Ignore hidden claude settings folder chore: Ignore hidden .claude settings folder

Sep 26, 2025

gmlewis