From 913f8ace7e3919d25162dd93e7ca4b819149aafa Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Fri, 16 Feb 2024 12:28:35 +0100 Subject: [PATCH] Bump golangci-lint Bump the golangci-lint version to the newest that still supports 1.20 and removed disabled checks that passing now. --- .golangci.yaml | 7 ------- .pre-commit-config.yaml | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 5ed88ce..937a37e 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -7,12 +7,5 @@ linters: - ginkgolinter - gofmt - govet -linters-settings: - revive: - rules: - # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter - - name: unused-parameter - severity: warning - disabled: true run: timeout: 5m diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4312239..70ea5ae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,7 +56,7 @@ repos: entry: bashate --error . --ignore=E006,E040,E011,E020,E012 - repo: https://github.com/golangci/golangci-lint - rev: v1.52.2 + rev: v1.55.2 hooks: - id: golangci-lint args: ["-v"]