From 4e6675df76d1196005cd3632ea3bf7ff2318ec38 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 2 Jun 2023 11:11:15 +0200 Subject: [PATCH] ci: disable `gocritic:uncheckedInlineErr` due to false-prositives uncheckedInlineErr gives many false-positives, there is no need to rewrite all of the reported if-statements. Signed-off-by: Niels de Vos --- scripts/golangci.yml.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/golangci.yml.in b/scripts/golangci.yml.in index 80fc13197..2cfcf4050 100644 --- a/scripts/golangci.yml.in +++ b/scripts/golangci.yml.in @@ -126,6 +126,8 @@ linters-settings: - wrapperFunc - unnamedResult - dupImport # https://github.com/go-critic/go-critic/issues/845 + # TODO: uncheckedInlineErr gives many false-positives + - uncheckedInlineErr unused: # treat code as a program (not a library) and report unused exported # identifiers; default is false. @@ -195,5 +197,5 @@ linters: - maintidx - exhaustruct - containedctx - # TODO: depguard requires a list of (un)acceptible imports + # TODO: depguard requires a list of (un)acceptable imports - depguard