File tree Expand file tree Collapse file tree 2 files changed +46
-30
lines changed Expand file tree Collapse file tree 2 files changed +46
-30
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
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-
54linters :
6- enable-all : true
7- disable :
8- - cyclop
9- - depguard
10- - exhaustivestruct
11- - exhaustruct
12- - forbidigo
13- - gci
14- - lll
15- - godot
16- - gofumpt
17- - gochecknoinits
18- - gochecknoglobals
19- - goerr113
20- - godox
21- - gomnd
22- - mnd
23- - nakedret
24- - musttag
25- - nlreturn
26- - nonamedreturns
27- - wrapcheck
28- - varnamelen
29- linters-settings :
30- funlen :
31- lines : 90
5+ default : all
6+ disable :
7+ - cyclop
8+ - depguard
9+ - err113
10+ - exhaustruct
11+ - forbidigo
12+ - gochecknoglobals
13+ - gochecknoinits
14+ - godot
15+ - godox
16+ - lll
17+ - mnd
18+ - musttag
19+ - nakedret
20+ - nlreturn
21+ - nonamedreturns
22+ - varnamelen
23+ - wrapcheck
24+ settings :
25+ funlen :
26+ lines : 90
27+ exclusions :
28+ generated : lax
29+ presets :
30+ - comments
31+ - common-false-positives
32+ - legacy
33+ - std-error-handling
34+ paths :
35+ - third_party$
36+ - builtin$
37+ - examples$
38+ formatters :
39+ enable :
40+ - gofmt
41+ - goimports
42+ exclusions :
43+ generated : lax
44+ paths :
45+ - third_party$
46+ - builtin$
47+ - examples$
You can’t perform that action at this time.
0 commit comments