You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add file filtering options for test and generated files (#3)
* feat: add file filtering options for test and generated files
- Add -test flag (default: true) to control analysis of *_test.go files
- Auto-exclude generated files (// Code generated ... DO NOT EDIT.) using ast.IsGenerated
- Generated files are always excluded (no opt-out)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* test: add tests and docs for file filtering options
- Add TestFileFilterDefault: verify generated files are skipped, test files analyzed by default
- Add TestFileFilterSkipTests: verify test files skipped when -test=false
- Add testdata fixtures for filefilter and filefilterskip packages
- Document -test flag and generated file exclusion in README.md
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments