1
0
mirror of https://github.com/mgechev/revive.git synced 2025-03-25 21:29:16 +02:00
Nahshon Unna Tsameret 9a2eab34f1
[dot-imports] support allow list of packages (#939)
Add the ability to allow list of packages to be dot imported.

Add a new don-imports configuration:
* `allowedPackages`: (string) comma-separated list of allowed dot import packages

Example:

```toml
[rule.dot-imports]
  arguments = [{ allowedPackages = "github.com/onsi/ginkgo/v2,github.com/onsi/gomega" }]
```
2023-11-26 10:07:12 +01:00
..
2018-10-01 12:24:17 -07:00
2018-10-31 07:32:23 -07:00
2022-04-18 09:45:42 -07:00
2020-01-07 14:46:21 -08:00
2023-09-23 10:41:34 +02:00
2018-06-22 21:21:09 +10:00
2021-06-29 13:04:51 -07:00
2022-03-29 11:25:38 -07:00
2023-09-23 10:41:34 +02:00