Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation rule to prevent any version #134

Open
matthewnitschke-wk opened this issue Oct 31, 2024 · 1 comment
Open

Validation rule to prevent any version #134

matthewnitschke-wk opened this issue Oct 31, 2024 · 1 comment

Comments

@matthewnitschke-wk
Copy link
Contributor

matthewnitschke-wk commented Oct 31, 2024

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

@matthewnitschke-wk
Copy link
Contributor Author

This work was spiked out in this closed pr: #97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant