mirror of https://github.com/containers/podman.git
[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:
parent
17a386a19d
commit
139d3fc82b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue