[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 <lewis@redhat.com>
This commit is contained in:
Lewis Roy 2025-06-15 21:46:17 +10:00
parent 17a386a19d
commit 139d3fc82b
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -58,7 +58,6 @@ linters:
checks: checks:
- all - all
- -ST1003 # https://staticcheck.dev/docs/checks/#ST1003 Poorly chosen identifier. - -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. - -QF1008 # https://staticcheck.dev/docs/checks/#QF1008 Omit embedded fields from selector expression.
nolintlint: nolintlint:
require-specific: true require-specific: true