Skip to content

Commit

Permalink
Update golangci-lint config
Browse files Browse the repository at this point in the history
Remove deprecated linters add suggested replacements.
  • Loading branch information
rhafer authored and longsleep committed May 8, 2024
1 parent c9d91fe commit 4e38d67
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,34 +40,30 @@ linters:
disable-all: true
enable:
- bodyclose
- deadcode
- dupl
- errcheck
- exportloopref
- funlen
- gochecknoinits
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- golint
- gosec
- gosimple
- govet
- ineffassign
- interfacer
- lll
- misspell
- nakedret
- scopelint
- revive
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck

# don't enable:
# - depguard - until https://github.com/OpenPeeDeeP/depguard/issues/7 gets fixed
Expand Down

0 comments on commit 4e38d67

Please sign in to comment.