forked from google/syzkaller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gometalinter.json
48 lines (48 loc) · 971 Bytes
/
.gometalinter.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"vendor": true,
"tests": true,
"deadline": "9m",
"sort": ["path", "line"],
"minconstlength": 7,
"linelength": 120,
"cyclo": 24,
"duplthreshold": 60,
"skip": [
"pkg/kd",
"pkg/ifuzz/generated",
"sys/akaros/gen",
"sys/freebsd/gen",
"sys/fuchsia/gen",
"sys/linux/gen",
"sys/netbsd/gen",
"sys/openbsd/gen",
"sys/windows/gen",
"sys/test/gen",
"sys/trusty/gen"
],
"enable": [
"gofmt",
"golint",
"structcheck",
"megacheck",
"unconvert",
"deadcode",
"goconst",
"unused",
"gosimple",
"varcheck",
"misspell",
"gocyclo",
"vet",
"vetshadow",
"lll"
],
"exclude": [
"(sys/.*/init.*|sys/targets/common.go).* don't use ALL_CAPS in Go names",
"(tools/syz-trace2syz/parser/(lex|strace).go)",
"exported .* should have comment",
"comment on .* should be of the form",
"declaration of \"err\" shadows",
"(pkg/csource/generated.go|pkg/report/linux.go|pkg/build/linux_generated.go).* line is [0-9]+ characters"
]
}