File tree Expand file tree Collapse file tree 3 files changed +55
-16
lines changed Expand file tree Collapse file tree 3 files changed +55
-16
lines changed Original file line number Diff line number Diff line change 1+ run :
2+ timeout : 5m
3+ allow-parallel-runners : true
4+
5+ issues :
6+ # don't skip warning about doc comments
7+ # don't exclude the default set of lint
8+ exclude-use-default : false
9+ exclude-files :
10+ - " .*_test\\ .go"
11+
12+ linters :
13+ disable-all : true
14+ enable :
15+ - dupl
16+ - errcheck
17+ - ginkgolinter
18+ - goconst
19+ - gocyclo
20+ - gofmt
21+ - goimports
22+ - gosimple
23+ - govet
24+ - ineffassign
25+ - misspell
26+ - nakedret
27+ - prealloc
28+ - revive
29+ - staticcheck
30+ - typecheck
31+ - unconvert
32+ - unparam
33+ - unused
Original file line number Diff line number Diff line change 1+ version : " 2"
12run :
2- timeout : 5m
33 allow-parallel-runners : true
4-
5- issues :
6- # don't skip warning about doc comments
7- # don't exclude the default set of lint
8- exclude-use-default : false
9- exclude-files :
10- - " .*_test\\ .go"
11-
124linters :
13- disable-all : true
5+ default : none
146 enable :
157 - dupl
168 - errcheck
179 - ginkgolinter
1810 - goconst
1911 - gocyclo
20- - gofmt
21- - goimports
22- - gosimple
2312 - govet
2413 - ineffassign
2514 - misspell
2615 - nakedret
2716 - prealloc
2817 - revive
2918 - staticcheck
30- - typecheck
3119 - unconvert
3220 - unparam
3321 - unused
22+ exclusions :
23+ generated : lax
24+ paths :
25+ - .*_test\.go
26+ - third_party$
27+ - builtin$
28+ - examples$
29+ formatters :
30+ enable :
31+ - gofmt
32+ - goimports
33+ exclusions :
34+ generated : lax
35+ paths :
36+ - .*_test\.go
37+ - third_party$
38+ - builtin$
39+ - examples$
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ ARG NODEADM_VERSION=1.0.0
1212ARG NODEADM_VERSION_TAG= $(echo $NODEADM_VERSION | sed s/+/-/)
1313
1414ARG LUET_VERSION= 0.35.1
15- ARG GOLINT_VERSION= v1.61.0
16- ARG GOLANG_VERSION= 1.23
15+ ARG GOLINT_VERSION= v2.1.6
16+ ARG GOLANG_VERSION= 1.24
1717
1818luet :
1919 FROM quay.io/luet/base:$LUET_VERSION
You can’t perform that action at this time.
0 commit comments