-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
bugSomething isn't workingSomething isn't workinglinter-CLIAffect linter CLI program (yaml conf, terminal output)Affect linter CLI program (yaml conf, terminal output)
Description
config:
deps:
di:
anyProjectDeps: true
anyVendorDeps: true
with this configuration, linter return unexpected error:
Dependency x -\-> di not allowed
├─ x some.Client in /internal/generated/some/sdk.go:28
└─ di New in /internal/container/container.go:43
/project-path/main.go:258
252 | cont := container.New(
> 258 | app.someClient,
because of anyProjectDeps
, all project dependencies must be allowed for di
, but linter possibly ignores this flag for deepscan.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglinter-CLIAffect linter CLI program (yaml conf, terminal output)Affect linter CLI program (yaml conf, terminal output)