-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gometalinter.json
47 lines (47 loc) · 983 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
46
47
{
"Aggregate": true,
"Concurrency": 4,
"Deadline": "2m",
"Debug": false,
"DisableAll": true,
"DuplThreshold": 50,
"Enable": [
"deadcode",
"dupl",
"errcheck",
"gas",
"goconst",
"gofmt",
"goimports",
"golint",
"gotype",
"gotypex",
"ineffassign",
"interfacer",
"lll",
"maligned",
"megacheck",
"misspell",
"nakedret",
"structcheck",
"test",
"testify",
"unconvert",
"unparam",
"varcheck",
"vet",
"vetshadow"
],
"EnableGC": true,
"Exclude": ["^/.*", "vendor/.*", ".*_test.go$"],
"LineLength": 120,
"MinConfidence": 80,
"MinConstLength": 3,
"MinOccurrences": 3,
"MisspellLocale": "US",
"Skip": ["vendor"],
"Sort": ["linter", "severity", "path", "line"],
"Test": true,
"Vendor": true,
"VendoredLinters": true
}