Skip to content

Commit 6eee853

Browse files
committed
Update CLAUDE.md to emphasize running both tests and linter
Clarify that both `make test` and `golangci-lint run` should be run together after any code changes to ensure comprehensive verification.
1 parent 4fe2094 commit 6eee853

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

CLAUDE.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,13 @@ The application uses TOML configuration files. See `config.toml.example` for all
8787
- Follow the existing code style and patterns in the repository
8888

8989
### Testing and Quality Assurance
90-
- Always run `make test` before committing changes or opening pull requests
91-
- **CRITICAL**: Always run `golangci-lint run` after making code changes to ensure proper formatting and linting
92-
- Ensure all tests pass and linting checks pass before committing
90+
- **CRITICAL**: Always run BOTH `make test` AND `golangci-lint run` after making any code changes
91+
- Run tests first with `make test` to ensure functionality works correctly
92+
- Run linter with `golangci-lint run` to ensure proper formatting and code quality
93+
- Ensure ALL tests pass AND ALL linting checks pass before committing
9394
- Review code carefully for spelling errors, typos, and grammatical mistakes
9495
- Test changes locally with different configurations when applicable
95-
- The project uses golangci-lint with strict formatting rules - code must pass ALL linting checks
96+
- The project uses golangci-lint with strict formatting rules - code must pass ALL checks
9697

9798
### Git Workflow
9899
- Write short, expressive commit messages that clearly describe the change
@@ -122,4 +123,4 @@ This project uses golangci-lint with strict formatting rules configured in `.gol
122123
- Consistent spacing around assignment operators (`key: value` not `key:value`)
123124
- Space after commas in function parameters and struct literals
124125

125-
**Always run `golangci-lint run` after making ANY code changes to catch formatting issues before committing.**
126+
**Always run BOTH `make test` AND `golangci-lint run` after making ANY code changes to ensure both functionality and formatting are correct before committing.**

0 commit comments

Comments
 (0)