Skip to content

Support dart_dependency_validator.yaml at the root of a pub workspace #167

@MobiliteDev

Description

@MobiliteDev

Is there a way to use dependency_validator in pub worspace, with a dart_dependency_validator.yaml file at the root of the workspace ?

For example, I need to add camera_android on all my apps pubspec.yaml in my workspace (to override camera plugin behavior)

So I would like to add a dart_dependency_validator.yaml file at the root of the workspace with this.

ignore:
  - camera_android

And run dart pub global run dependency_validator' which use it. And If dependency_validator' finds other dart_dependency_validator.yaml file in workspace packages/apps, it should combines dart_dependency_validator.yaml options. If the same property is found in sub package, I think the sub dart_dependency_validator.yaml file should overrides the 'default' same option found in the worskpace root dart_dependency_validator.yaml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions