forked from flowonyx/runtemplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgometalinter.json
51 lines (51 loc) · 1.39 KB
/
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
46
47
48
49
50
51
{
"Linters": {
"errcheck": {
"Command": "errcheck -ignoretests -ignoregenerated -ignore 'Close|Rollback' -abspath",
"Pattern": "^(?P<path>.*?\\.go):(?P<line>\\d+):(?P<col>\\d+):\\s*(?P<message>.*)$",
"IsFast": false,
"PartitionStrategy": "packages"
},
"goreturns": {
"Command": "goreturns -b -l",
"Pattern": "^(?P<path>.*?\\.go)$",
"IsFast": false,
"PartitionStrategy": "files"
},
"prealloc": {
"Command": "prealloc",
"Pattern": "^(?P<path>.*?\\.go):(?P<line>\\d+)\\s*(?P<message>.*)$",
"IsFast": true,
"PartitionStrategy": "packages"
},
"maligned": {
"Command": "maligned -v",
"Pattern": "^(?:[^:]+: )?(?P<path>.*?\\.go):(?P<line>\\d+):(?P<col>\\d+):\\s*(?P<message>(.|\n)+)$",
"IsFast": true,
"PartitionStrategy": "packages"
}
},
"Deadline": "10m",
"Concurrency": 1,
"Sort": [
"path"
],
"Enable": [
"prealloc",
"goreturns",
"megacheck",
"errcheck",
"structcheck",
"unconvert",
"maligned",
"deadcode",
"goconst",
"golint",
"ineffassign",
"interfacer",
"varcheck",
"vet",
"vetshadow"
],
"Vendor": true
}