From 584a13dd3767e476681049f7d68fce25c2a1cf9f Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Fri, 16 Feb 2024 11:15:53 +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 5ed88ce7..937a37ea 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 f4dc20d3..b965f0bf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: - id: go-mod-tidy - repo: https://github.com/golangci/golangci-lint - rev: v1.52.2 + rev: v1.54.2 hooks: - id: golangci-lint args: ["--verbose"]