Skip to content

Commit

Permalink
upgrading golangci-lint and ignoring unused parameter checks
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Trachier <[email protected]>
  • Loading branch information
matttrach committed Mar 31, 2023
1 parent 61d00b9 commit 185eb61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .golangci.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
{
"linters": "revive",
"text": "should have comment"
},
{
"linters": "revive",
"text": "unused-parameter"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apk -U add bash git gcc musl-dev docker vim less file curl wget ca-certifica
RUN GOPROXY=direct go install golang.org/x/tools/cmd/goimports@gopls/v0.8.2

RUN if [ "${ARCH}" == "amd64" ]; then \
curl -sL https://raw.githubusercontent.com/golangci/golangci-lint/v1.50.1/install.sh | sh -s; \
curl -sL https://raw.githubusercontent.com/golangci/golangci-lint/v1.52.2/install.sh | sh -s; \
go install sigs.k8s.io/kustomize/kustomize/[email protected]; \
fi

Expand Down

0 comments on commit 185eb61

Please sign in to comment.