Skip to content

Commit c563db6

Browse files
authored
Merge pull request moby#3796 from ktock/golangci-lint-v1.52
bump up golangci-lint to v1.52.2
2 parents f91ac04 + 60776f2 commit c563db6

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.golangci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,18 @@ issues:
6666
- linters:
6767
- revive
6868
text: "stutters"
69+
- linters:
70+
- revive
71+
text: "empty-block"
72+
- linters:
73+
- revive
74+
text: "superfluous-else"
75+
- linters:
76+
- revive
77+
text: "unused-parameter"
78+
- linters:
79+
- revive
80+
text: "redefines-builtin-id"
81+
- linters:
82+
- revive
83+
text: "if-return"

hack/dockerfiles/lint.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG GO_VERSION=1.20
55
FROM golang:${GO_VERSION}-alpine
66
ENV GOFLAGS="-buildvcs=false"
77
RUN apk add --no-cache gcc musl-dev yamllint
8-
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.51.1
8+
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.52.2
99
WORKDIR /go/src/github.com/moby/buildkit
1010
RUN --mount=target=/go/src/github.com/moby/buildkit --mount=target=/root/.cache,type=cache \
1111
GOARCH=amd64 golangci-lint run && \

0 commit comments

Comments
 (0)