2018-03-08 17:47:04 +00:00
|
|
|
{
|
|
|
|
"vendor": true,
|
|
|
|
"tests": true,
|
2018-05-07 16:59:22 +00:00
|
|
|
"deadline": "9m",
|
2018-03-08 17:47:04 +00:00
|
|
|
"sort": ["path", "line"],
|
|
|
|
"minconstlength": 7,
|
2018-05-04 12:24:51 +00:00
|
|
|
"linelength": 120,
|
2018-05-07 14:50:19 +00:00
|
|
|
"cyclo": 40,
|
2018-05-07 12:53:35 +00:00
|
|
|
"duplthreshold": 63,
|
2018-03-08 17:47:04 +00:00
|
|
|
"skip": [
|
2018-05-05 13:40:10 +00:00
|
|
|
"pkg/kd",
|
2018-05-07 13:42:28 +00:00
|
|
|
"pkg/ifuzz/generated",
|
2018-05-05 13:40:10 +00:00
|
|
|
"sys/akaros/gen",
|
|
|
|
"sys/freebsd/gen",
|
|
|
|
"sys/fuchsia/gen",
|
|
|
|
"sys/linux/gen",
|
|
|
|
"sys/netbsd/gen",
|
|
|
|
"sys/windows/gen",
|
|
|
|
"sys/test/gen"
|
2018-03-08 17:47:04 +00:00
|
|
|
],
|
|
|
|
"enable": [
|
|
|
|
"golint",
|
|
|
|
"structcheck",
|
|
|
|
"megacheck",
|
|
|
|
"unconvert",
|
|
|
|
"deadcode",
|
|
|
|
"goconst",
|
|
|
|
"unused",
|
|
|
|
"gosimple",
|
|
|
|
"varcheck",
|
2018-05-03 13:53:13 +00:00
|
|
|
"misspell",
|
2018-05-04 16:03:46 +00:00
|
|
|
"gocyclo",
|
2018-05-04 12:24:51 +00:00
|
|
|
"vet",
|
|
|
|
"lll"
|
2018-03-08 17:47:04 +00:00
|
|
|
],
|
|
|
|
"exclude": [
|
2018-05-07 12:42:55 +00:00
|
|
|
"(sys/(akaros|freebsd|fuchsia|linux|netbsd|test|windows)/init.*|sys/targets/common.go).* don't use ALL_CAPS in Go names",
|
2018-03-08 17:47:04 +00:00
|
|
|
"exported .* should have comment",
|
|
|
|
"comment on .* should be of the form",
|
2018-07-20 18:26:05 +00:00
|
|
|
"(pkg/csource/generated.go|pkg/report/linux.go|pkg/build/linux_generated.go).* line is [0-9]+ characters"
|
2018-03-08 17:47:04 +00:00
|
|
|
]
|
|
|
|
}
|