forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lintconfig_base.json
65 lines (65 loc) · 1.52 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
63
64
65
{
"concurrency": 4,
"enableGC": true,
"vendor": true,
"vendoredLinters": true,
"deadline": "600s",
"minConfidence": 0.0,
"lineLength": 160,
"test": true,
"sort": ["path"],
"enable": [
"deadcode",
"errcheck",
"goconst",
"golint",
"ineffassign",
"interfacer",
"lll",
"maligned",
"megacheck",
"misspell",
"structcheck",
"unconvert",
"varcheck",
"vet",
"vetshadow"
],
"severity": {
"deadcode": "error",
"errcheck": "error",
"goconst": "error",
"golint": "error",
"ineffassign": "error",
"interfacer": "error",
"lll": "error",
"maligned": "error",
"megacheck": "error",
"misspell": "error",
"structcheck": "error",
"unconvert": "error",
"varcheck": "error",
"vet": "error",
"vetshadow": "error"
},
"skip": [
"mixer/tools/adapterlinter/testdata"
],
"exclude": [
".pb.go",
"mock_*",
"mixer/adapter/doc.go",
".*.gen.go",
".*.gen_test.go",
"mixer/template/doc.go",
"mixer/template/sample/.*.go",
"mixer/test/spyAdapter/template/doc.go",
"mixer/template/doc.go",
"pilot/tools/.*.go",
"_test\\.go:.*\\bdefer .*\\(errcheck\\)$",
"should have a package comment",
"composite literal uses unkeyed fields",
"genfiles",
"vendor"
]
}