File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 # Require: The version of golangci-lint to use.
2727 # When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
2828 # When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
29- version : v1.55
29+ version : v2.10.1
3030
3131 # Optional: working directory, useful for monorepos
3232 # working-directory: somedir
Original file line number Diff line number Diff line change 1+ version : " 2"
2+
13run :
24 timeout : 5m
5+
36linters :
47 enable :
58 - asasalint
69 - bidichk
710 - bodyclose
8- - containedctx
9- - contextcheck
10- - dogsled
1111 - dupl
1212 - dupword
1313 - durationcheck
1414 - errorlint
1515 - errchkjson
1616 - exhaustive
17- - exportloopref
1817 - forcetypeassert
1918 # - gochecknoglobals
2019 - goconst
2120 - gocritic
2221 # - goerr113
23- - gofmt
24- - goprintffuncname
2522 - gosec
26- - grouper
2723 - ireturn
2824 - loggercheck
29- - makezero
3025 - mirror
3126 - misspell
3227 # - musttag
@@ -35,21 +30,19 @@ linters:
3530 - nilerr
3631 # - noctx
3732 - nonamedreturns
38- - nosprintfhostport
39- - prealloc
4033 - predeclared
41- - promlinter
4234 - reassign
4335 - revive
4436 - sqlclosecheck
4537 - stylecheck
4638 # - tagliatelle
47- - tenv
4839 - thelper
49- - tparallel
5040 - unconvert
5141 - unparam
5242 - usestdlibvars
5343 # - varnamelen
54- - wastedassign
5544 - whitespace
45+
46+ formatters :
47+ enable :
48+ - gofmt
You can’t perform that action at this time.
0 commit comments