From ae87b992eec5701c557a51e607faf6e7e659de10 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Mon, 9 Sep 2024 12:34:54 +0200 Subject: golangci.yml: allow to use string 'true' (goconst) --- .golangci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.golangci.yml') diff --git a/.golangci.yml b/.golangci.yml index 92835ec6e..67debd4c1 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -83,7 +83,7 @@ linters-settings: min-len: 3 min-occurrences: 3 ignore-tests: true # re-enable once goconst 1.7.0+ merged into golangci-lint - ignore-strings: '.html' + ignore-strings: '\.html|^true$' nestif: # TODO: consider reducing this value. min-complexity: 12 -- cgit mrf-deployment