From 0ea9a832cde1a0bd19f3bd6d8f2db7b35934e49d Mon Sep 17 00:00:00 2001 From: tdakkota Date: Fri, 9 Feb 2024 08:41:17 +0300 Subject: [PATCH] ci(golangci-lint): update exclude rules due to new `revive` checks --- .golangci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 987ad31e..96b3ccef 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -84,6 +84,16 @@ issues: - gocognit - scopelint - lll + - path: _test\.go + linters: + - revive + text: unused-parameter + + # Allow unused context.Context + - linters: + - revive + text: unused-parameter + source: .+\s+context.Context - path: _test\.go text: "Combine"