From 9c940b37be5edbf686e85775fa06cb755de908e2 Mon Sep 17 00:00:00 2001 From: oliverpool <3864879+oliverpool@users.noreply.github.com> Date: Fri, 1 Dec 2023 09:43:45 +0100 Subject: [PATCH] .golangci.reference.yml: depguard notice --- .golangci.reference.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.golangci.reference.yml b/.golangci.reference.yml index 5557717a162b..533b5d139226 100644 --- a/.golangci.reference.yml +++ b/.golangci.reference.yml @@ -218,6 +218,8 @@ linters-settings: - $gostd - github.com/OpenPeeDeeP # Packages that are not allowed where the value is a suggestion. + # /!\ Unlike upstream a deny list (with "pkg" and "desc" keys) must be provided + # (due to a viper limitation, yaml map keys can't have a dot) deny: - pkg: "github.com/sirupsen/logrus" desc: not allowed