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
chore: re-enable golangci-lint checks and fix violations
Re-enable staticcheck linters that were disabled in a previous commit
and fix all resulting violations:
- Remove deprecated // +build lines (23 files) - only //go:build needed
- Fix ST1005: lowercase error strings (24 issues across multiple files)
- Fix ST1016: consistent receiver names in collector/util.go
- Fix ST1023: remove redundant type in variable declaration
Keep disabled: ST1003 (naming would break public API), ST1020/ST1021/ST1022
(comment format - too many issues, not worth the churn).
Signed-off-by: Davanum Srinivas <[email protected]>
0 commit comments