From 9bee1fa733836d271b858b56fe31873ce6af0ecf Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Wed, 12 Feb 2025 17:08:46 +0100 Subject: [PATCH] fix nolintlint because of golangci-lint config change (#490) --- .golangci.yaml | 1 + internal/trivy/report.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.golangci.yaml b/.golangci.yaml index a01db5b2..39ed140c 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -111,6 +111,7 @@ linters-settings: require-specific: true stylecheck: dot-import-whitelist: + - github.com/majewsky/gg/option - github.com/onsi/ginkgo/v2 - github.com/onsi/gomega usestdlibvars: diff --git a/internal/trivy/report.go b/internal/trivy/report.go index 74f1cf1e..8c73d63b 100644 --- a/internal/trivy/report.go +++ b/internal/trivy/report.go @@ -24,7 +24,7 @@ import ( "fmt" "maps" - . "github.com/majewsky/gg/option" //nolint:stylecheck + . "github.com/majewsky/gg/option" ) // Report is a type for deserializing a Trivy vulnerability report into.