Skip to content

Commit

Permalink
Remove deprecated linters from golangci-lint (#2009)
Browse files Browse the repository at this point in the history
When running lints, golangci-lint complained about removed
linters (which were already disabled).
This removes the relevant warnings.
  • Loading branch information
greizgh authored Jul 17, 2024
1 parent 3f60ab2 commit 74d27ee
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,13 @@ linters:
disable:
- depguard

- exhaustivestruct
- revive
- lll
- interfacer
- scopelint
- maligned
- golint
- gofmt
- gochecknoglobals
- gochecknoinits
- gocognit
- funlen
- exhaustivestruct
- tagliatelle
- godox
- ireturn
Expand All @@ -34,13 +28,6 @@ linters:
- musttag # causes issues with imported libs
- 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:
- wrapcheck
- dupl
Expand Down

0 comments on commit 74d27ee

Please sign in to comment.