From 21191c03383d6c548672a847c2aa9774913bda2e Mon Sep 17 00:00:00 2001 From: "Berengar W. Lehr" Date: Thu, 28 Sep 2023 11:52:59 +0200 Subject: [PATCH] Ignore constant "off" recommendation --- .golangci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index e0b55c189..24c9e5b03 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -103,3 +103,6 @@ issues: - text: 'string `labels` has 3 occurrences, make it a constant' linters: - goconst + - text: 'string `off` has 6 occurrences, make it a constant' + linters: + - goconst