golangci, stylecheck: Allow dot imports for ginkgo & omega
Dot imports are usually discouraged, they pollute the package namespace,
causing collisions in naming of entities from different packages.
In some rare cases, exceptions are made to allow it.
Ginkgo and Gomega are examples of such exceptions.
@@ -51,6 +51,10 @@ linters-settings:
allow-unused: false # report any unused nolint directives
require-explanation: false # don't require an explanation for nolint directives
require-specific: false # don't require nolint directives to be specific about which linter is being skipped
+ stylecheck:
+ dot-import-whitelist:
+ - "github.com/onsi/ginkgo/v2"
+ - "github.com/onsi/gomega"
linters:
disable-all: true
