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
Copy file name to clipboardExpand all lines: CLAUDE.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,12 +87,13 @@ The application uses TOML configuration files. See `config.toml.example` for all
87
87
- Follow the existing code style and patterns in the repository
88
88
89
89
### 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
93
94
- Review code carefully for spelling errors, typos, and grammatical mistakes
94
95
- 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
96
97
97
98
### Git Workflow
98
99
- 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
122
123
- Consistent spacing around assignment operators (`key: value` not `key:value`)
123
124
- Space after commas in function parameters and struct literals
124
125
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