From cd088c9394b6d8b71bd2df6778d7303b52e8a46f Mon Sep 17 00:00:00 2001 From: Travis Raines <571832+rainest@users.noreply.github.com> Date: Mon, 5 Jun 2023 13:59:36 -0700 Subject: [PATCH] chore(linter) update gomodguard configuration --- .golangci.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 6fb62c520d..a9429c377e 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -104,12 +104,9 @@ linters-settings: recommendations: - fmt - errors - depguard: - list-type: denylist - include-go-root: false - packages-with-error-message: - - k8s.io/utils/pointer: "Use github.com/samber/lo ToPtr instead" - - golang.org/x/net/context: "use regular context instead" + - k8s.io/utils/pointer: + recommendations: + - github.com/samber/lo tenv: all: true loggercheck: