forked from grafana/grafana-openapi-client-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.toml
48 lines (44 loc) · 822 Bytes
/
.golangci.toml
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
[run]
timeout = "10m"
[linters-settings.golint]
min-confidence = 3
[linters-settings.goconst]
min-len = 5
min-occurrences = 5
[linters-settings.depguard.rules.main]
allow = [
"fmt", "strconv", "time", "net/http",
"bytes", "io", "math",
"github.com/go-openapi/runtime",
"github.com/grafana/grafana-openapi-client-go/pkg/errors",
"github.com/grafana/grafana-openapi-client-go/pkg/transport"
]
[linters]
disable-all = true
enable = [
"bodyclose",
"depguard",
"dogsled",
"errcheck",
"gochecknoinits",
"goconst",
"gocritic",
"goimports",
"goprintffuncname",
"gosec",
"gosimple",
"govet",
"ineffassign",
"misspell",
"nakedret",
"rowserrcheck",
"exportloopref",
"staticcheck",
"stylecheck",
"typecheck",
"unconvert",
"unused",
"whitespace",
"gocyclo",
"unparam",
]