diff --git a/.golangci.yml b/.golangci.yml index 36c083b0fc..61dd0e00eb 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/script/setup/install-dev-tools b/script/setup/install-dev-tools index 7737836bb9..460718b3ee 100755 --- a/script/setup/install-dev-tools +++ b/script/setup/install-dev-tools @@ -1,6 +1,6 @@ #!/usr/bin/env bash -GOLANGCI_LINT_VERSION="v1.50.1" +GOLANGCI_LINT_VERSION="v1.52.0" # # Install developer tools to $GOBIN (or $GOPATH/bin if unset)