36 lines
744 B
JSON
36 lines
744 B
JSON
{
|
|
"Exclude": [
|
|
".*_mock.go",
|
|
"geth/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"
|
|
}
|