File tree Expand file tree Collapse file tree 2 files changed +30
-26
lines changed
Expand file tree Collapse file tree 2 files changed +30
-26
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ workflows:
4343 git config --global core.symlinks true
4444
4545 - go/lint :
46- golangci-lint-version : 1.21 .0
46+ golangci-lint-version : 1.24 .0
4747
4848 - build
4949 - run
Original file line number Diff line number Diff line change @@ -6,20 +6,6 @@ linters-settings:
66 min-occurrences : 4
77 lll :
88 line-length : 120
9- gocritic :
10- enabled-tags :
11- - diagnostic
12- - performance
13- - style
14- - experimental
15- disabled-checks :
16- - importShadow
17- - paramTypeCombine
18- - commentFormatting # https://github.com/go-critic/go-critic/issues/755
19- - unnamedResult
20- settings :
21- hugeParam :
22- sizeThreshold : 256
239
2410issues :
2511 exclude-use-default : false
@@ -29,14 +15,32 @@ issues:
2915 - ' always receives'
3016
3117linters :
32- enable-all : true
33- disable :
34- - dupl
35- - gochecknoglobals
36- - gochecknoinits
37- - gosec
38- - scopelint
39- - maligned
40- - godox
41- - wsl
42- - funlen
18+ disable-all : true
19+ enable :
20+ - bodyclose
21+ - deadcode
22+ - depguard
23+ - errcheck
24+ - gocognit
25+ - goconst
26+ - gocyclo
27+ - gofmt
28+ - goimports
29+ - golint
30+ - gosimple
31+ - govet
32+ - ineffassign
33+ - interfacer
34+ - lll
35+ - misspell
36+ - nakedret
37+ - prealloc
38+ - staticcheck
39+ - structcheck
40+ - stylecheck
41+ - typecheck
42+ - unconvert
43+ - unparam
44+ - unused
45+ - varcheck
46+ - whitespace
You can’t perform that action at this time.
0 commit comments