Files
substrate/hack
Davanum Srinivas 55923825c7 chore(hack): add golangci-lint
Adds golangci-lint v2.12.2 using the per-tool-module pattern under
hack/tools/golangci-lint/. The verifier at hack/verify/golangci-lint.sh
is auto-discovered by hack/verify-all.sh, so the existing CI verify
step picks it up with no workflow YAML change.

Ships .golangci.yaml with the standard linter set, a make lint
target, and a verify wrapper that pins GOOS=linux so ateom-gvisor's
netlink references typecheck on macOS the same way they do on CI.

Adjustments to keep the first run clean: two dead-code deletions
((*runsc).cmdList, MemoryPullCache.gcsClient), two SA9003 empty
branches replaced with slog.Error / t.Logf, one S1008 return-bool
simplification, and inline //nolint for one intentional best-effort
ReleaseLock plus four audit-tracked SA1019 deprecations.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-05-23 16:19:09 -07:00
..
2026-05-23 16:19:09 -07:00
2026-05-19 17:14:36 -07:00
2026-05-23 16:19:09 -07:00
2026-05-22 14:43:26 -07:00
2026-05-22 12:39:59 -04:00
2026-05-19 16:57:14 -07:00
2026-05-19 16:57:14 -07:00
2026-05-19 16:57:14 -07:00
2026-05-19 16:57:14 -07:00