status-go/.gometalinter.json

36 lines
739 B
JSON

{
"Exclude": [
".*_mock.go",
"jail/doc.go",
".*Errors unhandled.*fmt.Fprint.*gasv2.*"
],
"Skip": ["helpers", "static"],
"Vendor": true,
"Test": true,
"Linters": {
"gasv2": {
"Command": "gas -fmt=csv",
"Pattern": "^(?P<path>.*?\\.go),(?P<line>\\d+),(?P<message>[^,]+,[^,]+,[^,]+,\".*\")"
}
},
"Enable": [
"deadcode",
"errcheck",
"gasv2",
"goconst",
"gocyclo",
"gofmt",
"golint",
"ineffassign",
"interfacer",
"megacheck",
"misspell",
"structcheck",
"unconvert",
"varcheck",
"vet"
],
"Cyclo": 16,
"Deadline": "200s"
}