From b54d32dd7501de193d352002b0231cbae6c6ab5f Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 2 Jun 2023 11:03:18 +0200 Subject: [PATCH] ci: disable `depguard` linter in golangci-lint The `depguard` linter needs additonal configuration, namely a list of packages that may (not) be imported. See-also: https://github.com/OpenPeeDeeP/depguard Signed-off-by: Niels de Vos --- scripts/golangci.yml.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/golangci.yml.in b/scripts/golangci.yml.in index 30e176052..80fc13197 100644 --- a/scripts/golangci.yml.in +++ b/scripts/golangci.yml.in @@ -195,3 +195,5 @@ linters: - maintidx - exhaustruct - containedctx + # TODO: depguard requires a list of (un)acceptible imports + - depguard