File tree Expand file tree Collapse file tree 1 file changed +90
-28
lines changed Expand file tree Collapse file tree 1 file changed +90
-28
lines changed Original file line number Diff line number Diff line change 66 go : ' 1.19'
77
88linters :
9- enable-all : true
10- disable :
11- - cyclop
12- - exhaustivestruct
13- - forbidigo
14- - funlen
15- - gci
16- - gocognit
17- - godot
18- - godox
19- - goerr113
20- - gofumpt
21- - ifshort # too many false positives
22- - ireturn
23- - nilnil
24- - nlreturn
25- - noctx
26- - paralleltest
27- - stylecheck
28- - varnamelen
29- - wsl
30- - exhaustruct
31- - deadcode
32- - scopelint
33- - nonamedreturns
34- - golint
35- - maintidx
36- - nosnakecase
9+ # please, do not use `enable-all`: it's deprecated and will be removed soon.
10+ # inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
11+ disable-all : true
12+ enable :
13+ - asciicheck
14+ - bidichk
15+ - bodyclose
16+ - contextcheck
17+ # - cyclop
18+ - depguard
19+ - dogsled
20+ - dupl
21+ - dupword
22+ - durationcheck
23+ - errcheck
24+ - errname
25+ - errorlint
26+ - exhaustive
27+ # - exhaustivestruct
28+ - exportloopref
29+ # - forbidigo
30+ - forcetypeassert
31+ # - funlen
32+ # - gci
33+ - gochecknoglobals
34+ - gochecknoinits
35+ # - gocognit
36+ - goconst
37+ - gocritic
38+ - gocyclo
39+ # - godot
40+ # - godox
41+ # - goerr113
42+ - gofmt
43+ # - gofumpt
44+ - goheader
45+ - goimports
46+ - gomnd
47+ - gomoddirectives
48+ - gomodguard
49+ - goprintffuncname
50+ - gosec
51+ - gosimple
52+ - govet
53+ # - ifshort # too many false positives
54+ - importas
55+ - ineffassign
56+ # - ireturn
57+ - lll
58+ - makezero
59+ - misspell
60+ - nakedret
61+ - nestif
62+ - nilerr
63+ # - nilnil
64+ # - nlreturn
65+ # - noctx
66+ - nolintlint
67+ # - paralleltest
68+ - prealloc
69+ - predeclared
70+ - promlinter
71+ - revive
72+ - rowserrcheck
73+ - sqlclosecheck
74+ - staticcheck
75+ # - stylecheck
76+ - tagliatelle
77+ - tenv
78+ - testpackage
79+ - testableexamples
80+ - thelper
81+ - tparallel
82+ - typecheck
83+ - unconvert
84+ - unparam
85+ - unused
86+ # - varnamelen
87+ - wastedassign
88+ - whitespace
89+ - wrapcheck
90+ # - wsl
91+ - asasalint
92+ - usestdlibvars
93+ - interfacebloat
94+ - loggercheck
95+ - reassign
96+ - ginkgolinter
97+ - gocheckcompilerdirectives
98+ - musttag
3799
38100linters-settings :
39101 dupl :
You can’t perform that action at this time.
0 commit comments