1
0
mirror of https://github.com/mgechev/revive.git synced 2025-02-01 13:07:44 +02:00
revive/testdata
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
..
2023-10-27 07:26:27 +02:00
2022-04-18 09:45:42 -07:00
2020-06-08 09:40:38 -07:00
2020-06-08 09:40:38 -07:00
2021-07-11 21:31:46 -07:00
2021-08-26 08:36:24 -07:00
2021-08-26 08:36:24 -07:00
2021-08-26 08:36:24 -07:00
2021-06-29 13:04:51 -07:00
2023-05-16 10:31:25 +02:00
2022-02-15 22:46:24 +01:00
2023-02-18 10:57:06 +01:00
2021-08-16 12:15:17 +02:00