Closed nunnatsa closed 7 months ago
Add the ability to allow list of packages to be dot imported.
Add a new don-imports configuration:
allowedPackages
Example:
[rule.dot-imports] arguments = [{ allowedPackages = ["github.com/onsi/ginkgo/v2","github.com/onsi/gomega"] }]
Fixes #923
/cc @chavacava
Hi @nunnatsa thanks for the PR! (and sorry for the late response)
Add the ability to allow list of packages to be dot imported.
Add a new don-imports configuration:
allowedPackages
: (list of strings) comma-separated list of allowed dot import packagesExample:
Fixes #923