Golangci : add linters (#653)

* Update .golangci.yml

* Update .golangci.yml
This commit is contained in:
Matthieu MOREL 2021-06-18 13:47:05 +02:00 committed by GitHub
parent 3f800cc8ca
commit 01b12b43d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@ linters:
enable:
- asciicheck
- bodyclose
- deadcode
- depguard
- dogsled
- durationcheck
@ -11,13 +12,20 @@ linters:
- gofumpt
- goimports
- gosec
- gosimple
- govet
- importas
- ineffassign
- megacheck
- misspell
- nakedret
- nolintlint
- revive
- staticcheck
- structcheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- wastedassign