Skip to content

deepscan ignores anyProjectDeps flag #67

@fe3dback

Description

@fe3dback

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

No one assigned

    Labels

    bugSomething isn't workinglinter-CLIAffect linter CLI program (yaml conf, terminal output)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions