-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.golangci.toml
More file actions
44 lines (38 loc) · 810 Bytes
/
.golangci.toml
File metadata and controls
44 lines (38 loc) · 810 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[run]
concurrency = 4
tests = false
[linters-settings]
[linters-settings.gocognit]
min-complexity = 20
[linters-settings.gofumpt]
lang-version = "1.19"
extra-rules = true
[linters-settings.goconst]
min-len = 2
min-occurrences = 2
[linters-settings.misspell]
locale = "US"
[linters]
disable-all = true
enable = [
"staticcheck",
"gosimple",
"ineffassign",
"typecheck",
"govet",
"errcheck",
"unused",
"exhaustive",
"stylecheck",
"gosec",
"unconvert",
"goconst",
"gocognit",
"depguard",
"misspell",
"unparam",
"prealloc",
"gofumpt",
"exportloopref",
"gocritic",
]