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