-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.json
More file actions
30 lines (30 loc) · 777 Bytes
/
.golangci.json
File metadata and controls
30 lines (30 loc) · 777 Bytes
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
{
"linters-settings": {
"funlen": {
"lines": 80,
"statements": 50
},
"goimports": {
"local-prefixes": "github.com/golangci/golangci-lint"
},
"golint": {
"min-confidence": 0
},
"govet": {
"check-shadowing": true,
"settings": {
"printf": {
"funcs": [
"(github.com/golangci/golangci-lint/pkg/logutils.Log).Infof",
"(github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf",
"(github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf",
"(github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf"
]
}
}
}
},
"linters": {
"enable": ["funlen"]
}
}