Skip to content

Commit 78c59ae

Browse files
authored
fix(.golangci.yml): Configure staticcheck to ignore ginkgo/gomega dot-imports (#973)
Signed-off-by: Oliver Gondža <ogondza@gmail.com>
1 parent 5105bbe commit 78c59ae

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.golangci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ linters:
1313
- third_party$
1414
- builtin$
1515
- examples$
16-
16+
settings:
17+
staticcheck:
18+
# https://staticcheck.dev/docs/configuration/options/#dot_import_whitelist
19+
dot-import-whitelist:
20+
# Ginkgo testsuites
21+
- github.com/onsi/gomega
22+
- github.com/onsi/ginkgo/v2
1723
formatters:
1824
exclusions:
1925
generated: lax

0 commit comments

Comments
 (0)