forked from hyperledger/fabric-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgometalinter.json
45 lines (45 loc) · 878 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
{
"Deadline": "5m",
"Exclude": [
".*seekInfo can be .*proto.Message.*",
"^internal/github.com/",
"^third_party/"
],
"EnableGC": true,
"WarnUnmatchedDirective": true,
"Vendor": true,
"Enable": [
"deadcode",
"gocyclo",
"gofmt",
"gotype",
"goimports",
"golint",
"gosimple",
"ineffassign",
"interfacer",
"misspell",
"unconvert",
"unused",
"vet",
"varcheck",
"maligned",
"errcheck",
"megacheck",
"goconst",
"gas",
"structcheck"
],
"Linters": {
"gas": {
"Command": "gas -fmt=csv",
"Pattern": "^(?P<path>.*?\\.go),(?P<line>\\d+)(-\\d+)?,(?P<message>[^,]+,[^,]+,[^,]+)",
"InstallFrom": "github.com/GoASTScanner/gas",
"PartitionStrategy": "packages",
"defaultEnabled": true,
"IsFast": true
}
},
"Cyclo": 10,
"Aggregate": true
}