File tree Expand file tree Collapse file tree 2 files changed +55
-48
lines changed Expand file tree Collapse file tree 2 files changed +55
-48
lines changed Original file line number Diff line number Diff line change 2121 check-latest : true
2222 cache : true
2323 - name : golangci-lint
24- uses : golangci/golangci-lint-action@v6
24+ uses : golangci/golangci-lint-action@v7
2525 with :
2626 version : latest
2727 only-new-issues : true
Original file line number Diff line number Diff line change 1- linters-settings :
2- gocyclo :
3- min-complexity : 45
4- dupl :
5- threshold : 200
6- goconst :
7- min-len : 2
8- min-occurrences : 3
9-
1+ version : " 2"
102linters :
11- enable-all : true
3+ default : all
124 disable :
13- - unparam
14- - lll
15- - gochecknoinits
16- - gochecknoglobals
5+ - cyclop
6+ - depguard
7+ - errchkjson
8+ - errorlint
9+ - exhaustruct
10+ - forcetypeassert
1711 - funlen
18- - godox
12+ - gochecknoglobals
13+ - gochecknoinits
1914 - gocognit
20- - whitespace
21- - wsl
22- - wrapcheck
23- - testpackage
24- - nlreturn
25- - errorlint
26- - nestif
2715 - godot
28- - gofumpt
16+ - godox
17+ - gosmopolitan
18+ - inamedparam
19+ - ireturn
20+ - lll
21+ - musttag
22+ - nestif
23+ - nlreturn
24+ - nonamedreturns
2925 - paralleltest
30- - tparallel
26+ - testpackage
3127 - thelper
32- - exhaustruct
28+ - tparallel
29+ - unparam
3330 - varnamelen
34- - gci
35- - depguard
36- - errchkjson
37- - inamedparam
38- - nonamedreturns
39- - musttag
40- - ireturn
41- - forcetypeassert
42- - cyclop
43- # deprecated linters
44- # - deadcode
45- # - interfacer
46- # - scopelint
47- # - varcheck
48- # - structcheck
49- # - golint
50- # - nosnakecase
51- # - maligned
52- # - goerr113
53- # - ifshort
54- # - gomnd
55- # - exhaustivestruct
31+ - whitespace
32+ - wrapcheck
33+ - wsl
34+ settings :
35+ dupl :
36+ threshold : 200
37+ goconst :
38+ min-len : 2
39+ min-occurrences : 3
40+ gocyclo :
41+ min-complexity : 45
42+ exclusions :
43+ generated : lax
44+ presets :
45+ - comments
46+ - common-false-positives
47+ - legacy
48+ - std-error-handling
49+ paths :
50+ - third_party$
51+ - builtin$
52+ - examples$
53+ formatters :
54+ enable :
55+ - gofmt
56+ - goimports
57+ exclusions :
58+ generated : lax
59+ paths :
60+ - third_party$
61+ - builtin$
62+ - examples$
You can’t perform that action at this time.
0 commit comments