From 85cba5b1c463e00c0263d67dbbb3f7be0443ffd2 Mon Sep 17 00:00:00 2001 From: Sias Mey Date: Thu, 28 Nov 2024 08:45:22 +0200 Subject: [PATCH] chore: update linting config to enable ireturn --- .golangci.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.golangci.yaml b/.golangci.yaml index 94dd3077..2b047eac 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -38,7 +38,7 @@ linters: - goconst # we want this - gocritic # we want this - intrange # later version of go - - ireturn # we want this + # - ireturn # we want this - lll # we want this - maintidx # we want this - mnd # we want this todo: also see gomnd @@ -108,4 +108,12 @@ issues: - stylecheck text: "ST1005:" + - linters: + - ireturn + path: internal/provider/resources + + - linters: + - ireturn + path: internal/provider/util/retry.go + max-same-issues: 0