1run:
2 tests: false
3
4linters:
5 disable-all: true
6 enable:
7 - asciicheck
8 - bidichk
9 - bodyclose
10 - containedctx
11 - contextcheck
12 - decorder
13 - depguard
14 - dogsled
15 - dupl
16 - durationcheck
17 - errcheck
18 - errchkjson
19 # FIXME: commented out as it crashes with 1.18 for now
20 # - errname
21 - errorlint
22 - exportloopref
23 - forbidigo
24 - funlen
25 - gci
26 - gochecknoglobals
27 - gochecknoinits
28 - gocognit
29 - goconst
30 - gocritic
31 - gocyclo
32 - godox
33 - gofmt
34 - gofumpt
35 - goheader
36 - goimports
37 - gomnd
38 - gomoddirectives
39 - gomodguard
40 - goprintffuncname
41 - gosec
42 - gosimple
43 - govet
44 - grouper
45 - ifshort
46 - importas
47 - ineffassign
48 - lll
49 - maintidx
50 - makezero
51 - misspell
52 - nakedret
53 - nilerr
54 - nilnil
55 - noctx
56 - nolintlint
57 - paralleltest
58 - prealloc
59 - predeclared
60 - promlinter
61 # FIXME: doesn't support 1.18 yet
62 # - revive
63 - rowserrcheck
64 - sqlclosecheck
65 - staticcheck
66 - structcheck
67 - stylecheck
68 - tagliatelle
69 - tenv
70 - testpackage
71 - thelper
72 - tparallel
73 - typecheck
74 - unconvert
75 - unparam
76 - unused
77 - varcheck
78 - varnamelen
79 - wastedassign
80 - whitespace