.golangci: remove or rename old and deprecated linters

This commit is contained in:
Oliver Gugger 2024-08-20 12:46:03 +02:00
parent 19b5a1fb05
commit 9eef428e77
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -131,25 +131,15 @@ linters:
- gochecknoinits
# Deprecated linters. See https://golangci-lint.run/usage/linters/.
- interfacer
- golint
- maligned
- scopelint
- exhaustivestruct
- bodyclose
- contextcheck
- nilerr
- noctx
- rowserrcheck
- sqlclosecheck
- structcheck
- tparallel
- unparam
- wastedassign
- ifshort
- varcheck
- deadcode
- nosnakecase
# Disable gofumpt as it has weird behavior regarding formatting multiple
@ -189,7 +179,7 @@ linters:
- wrapcheck
# Allow dynamic errors.
- goerr113
- err113
# We use ErrXXX instead.
- errname