1[service]
2golangci-lint-version = "1.39.0"
3
4[linters-settings.wsl]
5allow-assign-and-anything = true
6
7[linters-settings.exhaustive]
8default-signifies-exhaustive = true
9
10[linters]
11disable-all = true
12enable = [
13 "asciicheck",
14 "bodyclose",
15 "cyclop",
16 "deadcode",
17 "depguard",
18 "dogsled",
19 "dupl",
20 "durationcheck",
21 "errcheck",
22 "errorlint",
23 "exhaustive",
24 # "exhaustivestruct",
25 "exportloopref",
26 "forbidigo",
27 # "forcetypeassert",
28 "funlen",
29 "gci",
30 # "gochecknoglobals",
31 "gochecknoinits",
32 "gocognit",
33 "goconst",
34 "gocritic",
35 "gocyclo",
36 "godot",
37 "godox",
38 # "goerr113",
39 "gofmt",
40 "gofumpt",
41 "goheader",
42 "goimports",
43 "golint",
44 "gomnd",
45 # "gomoddirectives",
46 "gomodguard",
47 "goprintffuncname",
48 "gosec",
49 "gosimple",
50 "govet",
51 # "ifshort",
52 "importas",
53 "ineffassign",
54 "lll",
55 "makezero",
56 "misspell",
57 "nakedret",
58 "nestif",
59 "nilerr",
60 # "nlreturn",
61 "noctx",
62 "nolintlint",
63 #"paralleltest",
64 "prealloc",
65 "predeclared",
66 "revive",
67 "rowserrcheck",
68 "sqlclosecheck",
69 "staticcheck",
70 "structcheck",
71 "stylecheck",
72 # "testpackage",
73 "thelper",
74 "tparallel",
75 "typecheck",
76 "unconvert",
77 "unparam",
78 "unused",
79 "varcheck",
80 "wastedassign",
81 "whitespace",
82 # "wrapcheck",
83 # "wsl"
84]
View as plain text