File tree Expand file tree Collapse file tree 2 files changed +56
-58
lines changed Expand file tree Collapse file tree 2 files changed +56
-58
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-
10- issues :
11- # exclude from linting reports various type conversion code smells in the denco router.
12- exclude-rules :
13- - path : middleware/denco
14- linters :
15- - gosec
16- text : G115
17-
1+ version : " 2"
182linters :
19- enable-all : true
3+ default : all
204 disable :
5+ - cyclop
6+ - depguard
217 - err113 # disabled temporarily: there are just too many issues to address
22- - nilerr # nilerr crashes on this repo
23- - recvcheck
24- - unparam
25- - lll
26- - gochecknoinits
27- - gochecknoglobals
8+ - errchkjson
9+ - errorlint
10+ - exhaustruct
11+ - forcetypeassert
2812 - funlen
29- - godox
13+ - gochecknoglobals
14+ - gochecknoinits
3015 - gocognit
31- - whitespace
32- - wsl
33- - wrapcheck
34- - testpackage
35- - nlreturn
36- - errorlint
37- - nestif
3816 - godot
39- - gofumpt
17+ - godox
18+ - gosmopolitan
19+ - inamedparam
20+ - ireturn
21+ - lll
22+ - musttag
23+ - nestif
24+ - nilerr # nilerr crashes on this repo
25+ - nlreturn
26+ - nonamedreturns
4027 - paralleltest
41- - tparallel
28+ - testpackage
4229 - thelper
43- - exhaustruct
30+ - tparallel
31+ - unparam
4432 - varnamelen
45- - gci
46- - depguard
47- - errchkjson
48- - inamedparam
49- - nonamedreturns
50- - musttag
51- - ireturn
52- - forcetypeassert
53- - cyclop
54- # deprecated linters
55- # - deadcode
56- # - interfacer
57- # - scopelint
58- # - varcheck
59- # - structcheck
60- # - golint
61- # - nosnakecase
62- # - maligned
63- # - goerr113
64- # - ifshort
65- # - gomnd
66- # - exhaustivestruct
33+ - whitespace
34+ - wrapcheck
35+ - wsl
36+ settings :
37+ dupl :
38+ threshold : 200
39+ goconst :
40+ min-len : 2
41+ min-occurrences : 3
42+ gocyclo :
43+ min-complexity : 45
44+ exclusions :
45+ generated : lax
46+ presets :
47+ - comments
48+ - common-false-positives
49+ - legacy
50+ - std-error-handling
51+ paths :
52+ - third_party$
53+ - builtin$
54+ - examples$
55+ formatters :
56+ enable :
57+ - gofmt
58+ - goimports
59+ exclusions :
60+ generated : lax
61+ paths :
62+ - third_party$
63+ - builtin$
64+ - examples$
You can’t perform that action at this time.
0 commit comments