-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Summary
While our CI uses golangci-lint in GitHub Actions, developers should have it installed locally to catch issues before pushing. This provides faster feedback and catches more issues than the basic go vet checks.
Tasks:
- Document installation instructions in README:
- macOS:
brew install golangci-lint - Linux:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin - Windows:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- macOS:
- Update developer setup documentation
- Add VS Code settings recommendations for auto-linting
- Consider adding pre-commit hooks with golangci-lint
Current Status:
.golangci.ymlconfiguration file already exists- CI workflow uses
golangci-lintsuccessfully make lintfalls back to basic checks if golangci-lint not installed
Benefits:
- Catches 15+ types of common Go issues
- Finds unused code, inefficient constructs, style violations
- Provides consistent code quality across the team
Reactions are currently unavailable