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
The backend CI workflow runs golangci-lint but there is no .golangci.yml in the repo. Without it, the linter uses default settings which may differ across developer machines and CI, causing inconsistent results.
Acceptance criteria
Add .golangci.yml (or .golangci.toml) to backend/
Enable at minimum: errcheck, govet, staticcheck, unused, goimports, revive
Pin the linter version in the CI workflow
Existing code passes with the new config (or known violations are addressed)
Problem
The backend CI workflow runs
golangci-lintbut there is no.golangci.ymlin the repo. Without it, the linter uses default settings which may differ across developer machines and CI, causing inconsistent results.Acceptance criteria
.golangci.yml(or.golangci.toml) tobackend/errcheck,govet,staticcheck,unused,goimports,revive