Explicitly set which linters are enabled

This commit is contained in:
Calle Pettersson
2018-11-18 19:54:52 +01:00
committed by Calle Pettersson
parent 4c69ed1610
commit e04d3f414d

View File

@@ -1,9 +1,24 @@
{ {
"Disable": [ "Disable": [
"goconst",
"gocyclo", "gocyclo",
"gosec",
"maligned", "maligned",
"megacheck", "megacheck"
"goconst" ],
"Enable": [
"deadcode",
"errcheck",
"golint",
"gotype",
"gotypex",
"ineffassign",
"interfacer",
"structcheck",
"unconvert",
"varcheck",
"vet",
"vetshadow"
], ],
"Exclude": [ "Exclude": [
"don't use underscores in Go names", "don't use underscores in Go names",