File tree Expand file tree Collapse file tree 2 files changed +13
-21
lines changed Expand file tree Collapse file tree 2 files changed +13
-21
lines changed Original file line number Diff line number Diff line change
1
+ version : " 2"
1
2
run :
2
- timeout : 10m
3
3
modules-download-mode : vendor
4
4
5
5
linters :
6
+ default : none
6
7
enable :
7
- - gofmt
8
8
- govet
9
- - depguard
10
- - goimports
11
9
- ineffassign
12
10
- misspell
13
- - unused
14
11
- revive
15
12
- staticcheck
16
- - typecheck
17
- disable-all : true
18
-
19
- linters-settings :
20
- depguard :
21
- rules :
22
- main :
23
- deny :
24
- - pkg : " io/ioutil"
25
- desc : The io/ioutil package has been deprecated. See https://go.dev/doc/go1.16#ioutil
13
+ - unused
14
+ settings :
15
+ revive :
16
+ rules :
17
+ - name : package-comments # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#package-comments
18
+ disabled : true
26
19
27
- issues :
28
- exclude-rules :
29
- - linters :
30
- - revive
31
- text : " stutters"
20
+ formatters :
21
+ enable :
22
+ - gofmt
23
+ - goimports
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ ARG DEBIAN_VERSION=bookworm
5
5
6
6
ARG XX_VERSION=1.6.1
7
7
ARG OSXCROSS_VERSION=11.3-r7-debian
8
- ARG GOLANGCI_LINT_VERSION=v1.64 .5
8
+ ARG GOLANGCI_LINT_VERSION=v2 .5
9
9
ARG DEBIAN_FRONTEND=noninteractive
10
10
11
11
ARG PACKAGE=github.com/docker/docker-credential-helpers
You can’t perform that action at this time.
0 commit comments