From 2573ce680fa4c959efe824d3d9eecdfb362e0560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Gond=C5=BEa?= Date: Tue, 23 Sep 2025 14:27:38 +0200 Subject: [PATCH] fix(.golangci.yml): Configure staticcheck to ignore ginkgo/gomega dot-imports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Oliver Gondža --- .golangci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 6b08446bba9..7b70137aba3 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -13,7 +13,13 @@ linters: - third_party$ - builtin$ - examples$ - + settings: + staticcheck: + # https://staticcheck.dev/docs/configuration/options/#dot_import_whitelist + dot-import-whitelist: + # Ginkgo testsuites + - github.com/onsi/gomega + - github.com/onsi/ginkgo/v2 formatters: exclusions: generated: lax