What I do
Ensure code quality with formatting and linting.
When to use me
Before committing changes.
Commands (use Makefile)
bash
# Format code make format # Lint code make lint # Run both + tests make all # Direct commands (avoid if possible) gofumpt -w . golangci-lint run
Rules
- •Always run format before commit
- •Fix all lint errors
- •Run tests after:
make test - •Ensure no unused imports