Migrate .golangci.yml from v1 issues.exclude-rules to v2 linters.exclusions.rules — the v1 key was silently ignored by golangci-lint v2, so test-file goconst exclusions weren't applied. With the config fixed, all test-file violations disappear. Extract severity constants in output.go to fix the 4 remaining non-test goconst violations (CRITICAL/HIGH/MODERATE/ LOW each appear 3x in severityRank, severityBreakdown, and severityColorFn). |
||
|---|---|---|
| .. | ||
| output.go | ||
| update.go | ||