1
0
Fork 1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-06-02 00:38:16 -04:00
pkg-proxy/internal
Andrew Nesbitt 5e88758852
Add .golangci.yml and clear gocognit/goconst findings
Bake the extended linter set into a project config so plain
golangci-lint run matches what we check locally, with goconst tuned
to ignore tests and bare lowercase words to drop ~200 ecosystem-name
and test-literal false positives.

Clear the remaining real findings: extract GradleBuildCacheConfig.Validate
from Config.Validate, pull the eviction sort comparator into
sortOldestFirst (zero time.Time already sorts first via Before so the
switch was redundant), add headerAcceptEncoding and SQL column-type
constants, and drop a dead empty-key recheck in the gradle handler.
2026-05-04 11:33:35 +01:00
..
config Add .golangci.yml and clear gocognit/goconst findings 2026-05-04 11:33:35 +01:00
cooldown Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
database Add .golangci.yml and clear gocognit/goconst findings 2026-05-04 11:33:35 +01:00
enrichment Use shared github.com/git-pkgs/enrichment module 2026-02-06 10:37:00 +00:00
handler Add .golangci.yml and clear gocognit/goconst findings 2026-05-04 11:33:35 +01:00
metrics Verify cached artifacts on read (#111) 2026-05-03 10:36:28 +01:00
mirror Apply 'go fmt' as suggested in CONTRIBUTING.md. 2026-04-18 07:43:22 -04:00
server Add .golangci.yml and clear gocognit/goconst findings 2026-05-04 11:33:35 +01:00
storage add Gradle Build Cache support with handler and tests (#87) 2026-05-04 11:15:16 +01:00