diff --git a/.golangci.yml b/.golangci.yml index c64ba6e7..64a494b4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,7 +1,5 @@ linters: enable: - - structcheck - - varcheck - staticcheck - unconvert - gofmt @@ -14,6 +12,14 @@ linters: disable: - errcheck +linters-settings: + revive: + rules: + # TODO(thaJeztah): temporarily disabled the "unused-parameter" check. + # It produces many warnings, and some of those may need to be looked at. + - name: unused-parameter + disabled: true + run: deadline: 2m skip-dirs: diff --git a/dockerfiles/lint.Dockerfile b/dockerfiles/lint.Dockerfile index 113db75a..da5e51b6 100644 --- a/dockerfiles/lint.Dockerfile +++ b/dockerfiles/lint.Dockerfile @@ -2,7 +2,7 @@ ARG GO_VERSION=1.18 ARG ALPINE_VERSION=3.16 -ARG GOLANGCI_LINT_VERSION=v1.45 +ARG GOLANGCI_LINT_VERSION=v1.52 FROM golangci/golangci-lint:${GOLANGCI_LINT_VERSION}-alpine AS golangci-lint