Enable all govet linters except fieldalignment

When linting, govet complains about the deprecated `check-shadowing` setting.
Replace it with enabling all currently passing linters. This excludes only
`fieldalignment`.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
This commit is contained in:
Matthias Rampke 2024-09-15 09:38:10 +00:00
parent c7a3f16195
commit 77d911b7fe
No known key found for this signature in database
GPG key ID: F9AFF7F67ACE10BA

View file

@ -15,7 +15,9 @@ linters:
- whitespace - whitespace
linters-settings: linters-settings:
govet: govet:
check-shadowing: true enable-all: true
disable:
- fieldalignment
issues: issues:
exclude-use-default: false exclude-use-default: false
exclude: exclude: