From 844ad15109449c574800cf278e43d999836aba79 Mon Sep 17 00:00:00 2001 From: Adrien Raffin-Caboisse Date: Mon, 16 May 2022 14:29:05 +0200 Subject: [PATCH] fix: revert previous commit and add exclusion of linter --- .github/workflows/lint.yml | 2 -- .golangci.yaml | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f8a3488..db42067 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,8 +26,6 @@ jobs: if: steps.changed-files.outputs.any_changed == 'true' uses: golangci/golangci-lint-action@v2 with: - version: v1.41.0 - # Only block PRs on new problems. # If this is not enabled, we will end up having PRs # blocked because new linters has appared and other diff --git a/.golangci.yaml b/.golangci.yaml index baed8e2..b84aabb 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -23,11 +23,14 @@ linters: - exhaustivestruct - tagliatelle - godox + - ireturn + - execinquery # We should strive to enable these: - wrapcheck - dupl - makezero + - maintidx # We might want to enable this, but it might be a lot of work - cyclop