Skip to content

Validation rule to prevent any version #134

@matthewnitschke-wk

Description

@matthewnitschke-wk

pubspec.yaml files technically support any as a possible version:

some_dep: any

some_dep2:

some_dep3:
  hosted:
    name: some_dep3
    url: https://some_url.org

While this is valid for development use cases, this will fail during publish to pub, and would be nice if dependency_validator could catch

Consider this as an opt-in functionality

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions