Remove deprecated linters from golangci-lint (#2009)

When running lints, golangci-lint complained about removed
linters (which were already disabled).
This removes the relevant warnings.
This commit is contained in:
greizgh 2024-07-17 10:08:41 +02:00 committed by GitHub
parent 3f60ab23a6
commit 74d27ee5fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,19 +12,13 @@ linters:
disable: disable:
- depguard - depguard
- exhaustivestruct
- revive - revive
- lll - lll
- interfacer
- scopelint
- maligned
- golint
- gofmt - gofmt
- gochecknoglobals - gochecknoglobals
- gochecknoinits - gochecknoinits
- gocognit - gocognit
- funlen - funlen
- exhaustivestruct
- tagliatelle - tagliatelle
- godox - godox
- ireturn - ireturn
@ -34,13 +28,6 @@ linters:
- musttag # causes issues with imported libs - musttag # causes issues with imported libs
- depguard - depguard
# deprecated
- structcheck # replaced by unused
- ifshort # deprecated by the owner
- varcheck # replaced by unused
- nosnakecase # replaced by revive
- deadcode # replaced by unused
# We should strive to enable these: # We should strive to enable these:
- wrapcheck - wrapcheck
- dupl - dupl