forked from ajeetraina/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gometalinter.json
44 lines (42 loc) · 959 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
{
"Vendor": true,
"Deadline": "10m",
"Sort": ["linter", "severity", "path", "line"],
"Exclude": [
"templateloader",
"vendor/github.com/docker/cli/cli/compose/schema/bindata.go",
"vendor/github.com/docker/cli/cli/command/stack/kubernetes/api/openapi",
"vendor/github.com/docker/cli/cli/command/stack/kubernetes/api/client",
"vendor/k8s.io",
".*generated.*",
"parameter .* always receives"
],
"EnableGC": true,
"Linters": {
"nakedret": {
"Command": "nakedret",
"Pattern": "^(?P<path>.*?\\.go):(?P<line>\\d+)\\s*(?P<message>.*)$"
}
},
"WarnUnmatchedDirective": true,
"DisableAll": true,
"Enable": [
"deadcode",
"gocyclo",
"gofmt",
"goimports",
"golint",
"gosimple",
"ineffassign",
"interfacer",
"lll",
"misspell",
"nakedret",
"unconvert",
"unparam",
"unused",
"vet"
],
"Cyclo": 16,
"LineLength": 200
}