Drop empty gosec settings so golangci-lint v2 config verifies.
CI / vulncheck (pull_request) Successful in 7s
CI / check-and-test (pull_request) Failing after 13s

This commit is contained in:
s1d3sw1ped_bot
2026-08-31 20:28:54 +00:00
parent 79f02d9868
commit 36b613b6cd
+4 -5
View File
@@ -20,11 +20,10 @@ linters:
errcheck: errcheck:
check-type-assertions: false check-type-assertions: false
check-blank: false check-blank: false
gosec: # gosec: no extra settings. Broad global excludes removed (G104/G115/G301/G304/G306).
# Broad global excludes removed (G104/G115/G301/G304/G306). # - G301 addressed by switching cache MkdirAll to 0700 (least privilege for CDN content).
# - G301 addressed by switching cache MkdirAll to 0700 (least privilege for CDN content). # - Remaining justified cases documented with precise //nosec (or #nosec) + comments at the call sites.
# - Remaining justified cases documented with precise //nosec (or #nosec) + comments at the call sites. # - G104 largely eliminated by errcheck + explicit _ = handling (or defer wrappers).
# - G104 largely eliminated by errcheck + explicit _ = handling (or defer wrappers).
staticcheck: staticcheck:
checks: ["all"] # SA1019 exclusion removed (no deprecated API usages in tree) checks: ["all"] # SA1019 exclusion removed (no deprecated API usages in tree)
govet: govet: