forked from grafana/terraform-provider-grafana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.toml
58 lines (52 loc) · 943 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
49
50
51
52
53
54
55
56
57
58
[run]
timeout = "10m"
build-tags = [
"cloud",
"enterprise",
]
[linters-settings.golint]
min-confidence = 3
[linters-settings.goconst]
min-len = 5
min-occurrences = 5
[linters]
disable-all = true
enable = [
"bodyclose",
"deadcode",
"depguard",
"dogsled",
"goconst",
"gocritic",
"goimports",
"golint",
"goprintffuncname",
"gosec",
"gosimple",
"govet",
"ineffassign",
"misspell",
"nakedret",
"rowserrcheck",
"exportloopref",
"staticcheck",
"structcheck",
"stylecheck",
"typecheck",
"unconvert",
"unused",
"varcheck",
"whitespace",
"gocyclo",
"unparam",
]
[[issues.exclude-rules]]
linters = ["stylecheck"]
path = "_test.go"
text = "ST1003: should not use underscores in Go names;"
[[issues.exclude-rules]]
linters = ["gocritic"]
text = "deprecatedComment: the proper format is `Deprecated: <text>`"
[[issues.exclude-rules]]
linters = ["gosec"]
text = "G402: TLS MinVersion too low."