enable some more linters

This commit is contained in:
Michael McLoughlin
2018-12-05 00:49:12 -08:00
parent fa18d7229f
commit 00c50be004
4 changed files with 29 additions and 2 deletions

23
.golangci.yml Normal file
View File

@@ -0,0 +1,23 @@
linters:
enable-all: false
enable:
- structcheck
- varcheck
- ineffassign
- typecheck
- megacheck
- deadcode
- govet
- errcheck
- goimports
- depguard
- goconst
- unconvert
- gocritic
linters-settings:
depguard:
list-type: whitelist
packages:
- github.com/mmcloughlin/avo
- golang.org/x/arch/x86