File tree Expand file tree Collapse file tree 2 files changed +29
-20
lines changed
Expand file tree Collapse file tree 2 files changed +29
-20
lines changed Original file line number Diff line number Diff line change 1- run :
2- timeout : 10m
1+ version : " 2"
32
43linters :
4+ default : none
55 enable :
66 - depguard
7- - gofmt
8- - goimports
97 - revive
108 - govet
119 - importas
1210 - ineffassign
1311 - misspell
14- - typecheck
1512 - errname
1613 - makezero
1714 - whitespace
18- disable-all : true
19-
20- linters-settings :
21- depguard :
15+ settings :
16+ depguard :
17+ rules :
18+ main :
19+ deny :
20+ - pkg : io/ioutil
21+ desc : The io/ioutil package has been deprecated, see https://go.dev/doc/go1.16#ioutil
22+ importas :
23+ no-unaliased : true
24+ exclusions :
25+ generated : lax
26+ presets :
27+ - comments
28+ - common-false-positives
29+ - legacy
30+ - std-error-handling
2231 rules :
23- main :
24- deny :
25- - pkg : io/ioutil
26- desc : The io/ioutil package has been deprecated, see https://go.dev/doc/go1.16#ioutil
27- importas :
28- no-unaliased : true
32+ - linters :
33+ - revive
34+ text : stutters
35+
36+ formatters :
37+ enable :
38+ - gofmt
39+ - goimports
2940
3041issues :
31- exclude-rules :
32- - linters :
33- - revive
34- text : " stutters"
42+ max-issues-per-linter : 0
43+ max-same-issues : 0
Original file line number Diff line number Diff line change 1616
1717ARG GO_VERSION="1.23"
1818ARG XX_VERSION="1.6.1"
19- ARG GOLANGCI_LINT_VERSION="v1.62 "
19+ ARG GOLANGCI_LINT_VERSION="v2.1.5 "
2020ARG ADDLICENSE_VERSION="v1.1.1"
2121
2222ARG LICENSE_ARGS="-c cli-docs-tool -l apache"
You can’t perform that action at this time.
0 commit comments