forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lintconfig_base.json
62 lines (62 loc) · 1.37 KB
/
lintconfig_base.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"concurrency": 4,
"enableGC": true,
"vendoredLinters": true,
"deadline": "600s",
"minConfidence": 0,
"lineLength": 160,
"enable": [
"aligncheck",
"deadcode",
"errcheck",
"gas",
"goconst",
"gofmt",
"goimports",
"golint",
"ineffassign",
"interfacer",
"lll",
"megacheck",
"misspell",
"structcheck",
"unconvert",
"varcheck",
"vet",
"vetshadow"
],
"severity": {
"aligncheck": "warn",
"deadcode": "error",
"errcheck": "error",
"gas": "error",
"goconst": "error",
"gofmt": "error",
"goimports": "error",
"golint": "error",
"ineffassign": "error",
"interfacer": "error",
"lll": "error",
"megacheck": "error",
"misspell": "error",
"structcheck": "error",
"unconvert": "error",
"varcheck": "error",
"vet": "error",
"vetshadow": "error"
},
"exclude": [
"vendor",
"../vendor",
".pb.go",
"mock_*",
"mixer/adapter/doc.go",
"mixer/pkg/config/proto/combined.go",
".*.gen.go",
"mixer/template/doc.go",
"mixer/template/sample/doc.go",
"mixer/test/spyAdapter/template/doc.go",
"should have a package comment",
"genfiles"
]
}