Skip to content

Commit

Permalink
ci: review linters (#16)
Browse files Browse the repository at this point in the history
by @gurza 

* ci: replace deprecated linters
  replace varcheck, deadcode, and structcheck by unused

* fix: remove duplicated megacheck linter

* chore: sort linters list
  • Loading branch information
gurza authored Oct 2, 2022
1 parent 19d25a2 commit 39ade55
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,25 @@ linters-settings:

linters:
enable:
- megacheck
- revive
- govet
- unconvert
- megacheck
- structcheck
- gas
- gocyclo
- dupl
- misspell
- unparam
- varcheck
- deadcode
- typecheck
- ineffassign
- varcheck
- stylecheck
- gochecknoinits
- exportloopref
- gas
- gochecknoinits
- gocritic
- nakedret
- gocyclo
- gosimple
- govet
- ineffassign
- megacheck
- misspell
- nakedret
- prealloc
- revive
- stylecheck
- typecheck
- unconvert
- unparam
- unused
fast: false
disable-all: true

Expand Down

0 comments on commit 39ade55

Please sign in to comment.