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