From d7fd8a2a292b3378dabe24671191436bb081ad05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thor=20K=2E=20H=C3=B8g=C3=A5s?= Date: Thu, 3 Oct 2024 15:01:40 +0200 Subject: [PATCH] fix(lint): exclude unused parameters from noop logger --- .golangci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 8730cc5e..24226f3b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -11,3 +11,11 @@ linters: - revive - gofmt - godot + +issues: + exclude-rules: + # Exclude unused parameter checks from the noop logger for readability + - path: internal/log/log.go + linters: + - revive + text: "unused-parameter: parameter '(\\w+)' seems to be unused, .*"