Skip to content

Commit 979dcc4

Browse files
authored
Merge pull request #309 from thaJeztah/update_golangci
Dockerfile: update golangci-lint to v1.55.2
2 parents f642c26 + f411a65 commit 979dcc4

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.golangci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ linters:
1818

1919
linters-settings:
2020
depguard:
21-
list-type: blacklist
22-
include-go-root: true
23-
packages:
24-
# The io/ioutil package has been deprecated.
25-
# https://go.dev/doc/go1.16#ioutil
26-
- io/ioutil
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
2726

2827
issues:
2928
exclude-rules:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ARG GO_VERSION=1.20.6
44
ARG XX_VERSION=1.2.1
55
ARG OSXCROSS_VERSION=11.3-r7-debian
6-
ARG GOLANGCI_LINT_VERSION=v1.51.1
6+
ARG GOLANGCI_LINT_VERSION=v1.55.2
77
ARG DEBIAN_FRONTEND=noninteractive
88

99
ARG PACKAGE=github.com/docker/docker-credential-helpers

0 commit comments

Comments
 (0)