mirror of
https://github.com/reactos/syzkaller.git
synced 2025-01-31 08:52:21 +00:00
add config for gometalinter
gometalinter is https://github.com/alecthomas/gometalinter
This commit is contained in:
parent
acd0caa5f7
commit
63ef857906
32
.gometalinter.json
Normal file
32
.gometalinter.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"vendor": true,
|
||||
"tests": true,
|
||||
"deadline": "10m",
|
||||
"sort": ["path", "line"],
|
||||
"minconstlength": 7,
|
||||
"skip": [
|
||||
"pkg/kd"
|
||||
],
|
||||
"enable": [
|
||||
"golint",
|
||||
"structcheck",
|
||||
"megacheck",
|
||||
"unconvert",
|
||||
"deadcode",
|
||||
"goconst",
|
||||
"unused",
|
||||
"gosimple",
|
||||
"varcheck",
|
||||
"vet"
|
||||
],
|
||||
"exclude": [
|
||||
"don't use underscores in Go names",
|
||||
"don't use ALL_CAPS in Go names",
|
||||
"exported .* should have comment",
|
||||
"comment on exported type",
|
||||
"package comment should be of the form",
|
||||
"comment on .* should be of the form",
|
||||
"should not use dot imports",
|
||||
"composite literal uses unkeyed fields"
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user