From 79eb5cdd022826a91edd37959197b7c9f551354c 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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 6fb62c520d..f939fa15bf 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -104,12 +104,12 @@ 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" + - golang.org/x/net/context: + recommendations: + - context + - k8s.io/utils/pointer: + recommendations: + - github.com/samber/lo tenv: all: true loggercheck: