From 139d3fc82b78d13a636bce1e0818fbb8fa6d934a Mon Sep 17 00:00:00 2001 From: Lewis Roy Date: Sun, 15 Jun 2025 21:46:17 +1000 Subject: [PATCH] [CI] Correct ST1005 staticcheck lint rule This rule was incorrectly disabled in #26400 You can see here [1] adding "-" disables a rule and ST1005 is enabled by default. [1] https://golangci-lint.run/usage/linters/#staticcheck Signed-off-by: Lewis Roy --- .golangci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index f64c24aabe..78e15eb775 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -58,7 +58,6 @@ linters: checks: - all - -ST1003 # https://staticcheck.dev/docs/checks/#ST1003 Poorly chosen identifier. - - -ST1005 # https://staticcheck.dev/docs/checks/#ST1005 Incorrectly formatted error string - -QF1008 # https://staticcheck.dev/docs/checks/#QF1008 Omit embedded fields from selector expression. nolintlint: require-specific: true