File tree Expand file tree Collapse file tree 2 files changed +48
-31
lines changed
Expand file tree Collapse file tree 2 files changed +48
-31
lines changed Original file line number Diff line number Diff line change 1515 - uses : actions/checkout@v4
1616
1717 - name : golangci-lint
18- uses : golangci/golangci-lint-action@v6
18+ uses : golangci/golangci-lint-action@v7
1919 with :
20- version : v1.64.8
20+ version : v2.0.2
Original file line number Diff line number Diff line change 1+ version : " 2"
12run :
2- timeout : 5m
33 tests : false
4-
5- issues :
6- exclude-files :
7- - ' internal/config/http_config.go'
8- - ' internal/config/config.go'
9-
104linters :
11- enable-all : true
12- disable :
13- - cyclop
14- - depguard
15- - exhaustruct
16- - forbidigo
17- - gci
18- - gochecknoglobals
19- - gochecknoinits
20- - godox
21- - err113
22- - gofumpt
23- - mnd
24- - lll
25- - musttag
26- - nakedret
27- - nlreturn
28- - nolintlint
29- - nonamedreturns
30- - tagliatelle
31- - varnamelen
32- - wrapcheck
5+ default : all
6+ disable :
7+ - cyclop
8+ - depguard
9+ - err113
10+ - exhaustruct
11+ - forbidigo
12+ - gochecknoglobals
13+ - gochecknoinits
14+ - godox
15+ - lll
16+ - mnd
17+ - musttag
18+ - nakedret
19+ - nlreturn
20+ - nolintlint
21+ - nonamedreturns
22+ - tagliatelle
23+ - varnamelen
24+ - wrapcheck
25+ exclusions :
26+ generated : lax
27+ presets :
28+ - comments
29+ - common-false-positives
30+ - legacy
31+ - std-error-handling
32+ paths :
33+ - internal/config/http_config.go
34+ - internal/config/config.go
35+ - third_party$
36+ - builtin$
37+ - examples$
38+ formatters :
39+ enable :
40+ - gofmt
41+ - goimports
42+ exclusions :
43+ generated : lax
44+ paths :
45+ - internal/config/http_config.go
46+ - internal/config/config.go
47+ - third_party$
48+ - builtin$
49+ - examples$
You can’t perform that action at this time.
0 commit comments