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
Changes:
- Fix all errcheck errors by handling return values
- Add package comments to all packages
- Fix unused parameter warnings
- Update .golangci.yml configuration
- Add pre-commit hook for automated linting
- Add installation scripts for git hooks
- Fix formatting with gofmt and goimports
Lint Configuration:
- Increase gocyclo complexity threshold to 30
- Exclude errcheck for fmt.* and defer Close/Flush
- Add package comment requirements
- Configure proper exclusions for test files
Pre-commit Hook:
- Auto-run gofmt and goimports before commit
- Run go vet and golangci-lint checks
- Run tests with -short flag
- Prevent commits with lint errors