.golangci.yml: turn off deprecated linters

All these linters produced a deprecation warning. They've all been
replaced by new linters, so we can safely turn them off.
This commit is contained in:
Oliver Gugger
2024-12-20 10:01:42 +01:00
parent 03eab4db64
commit ad29096aa1

View File

@@ -145,7 +145,6 @@ linters:
- unparam
- wastedassign
# Disable gofumpt as it has weird behavior regarding formatting multiple
# lines for a function which is in conflict with our contribution
# guidelines. See https://github.com/mvdan/gofumpt/issues/235.
@@ -218,6 +217,17 @@ linters:
- intrange
- goconst
# Deprecated linters that have been replaced by newer ones.
- deadcode
- exhaustivestruct
- ifshort
- golint
- interfacer
- varcheck
- nosnakecase
- scopelint
- structcheck
- maligned
issues:
# Only show newly introduced problems.