Skip to content

New quick-fix to fix invalid_dependency in pubspec.yaml #56647

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

Open
FMorschel opened this issue Sep 4, 2024 · 1 comment
Open

New quick-fix to fix invalid_dependency in pubspec.yaml #56647

FMorschel opened this issue Sep 4, 2024 · 1 comment
Labels
area-devexp For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages. devexp-quick-fix Issues with analysis server (quick) fixes P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug

Comments

@FMorschel
Copy link
Contributor

I'd like to request a new quick-fix for the pubspec.yaml to fix invalid_dependency where it adds the publish_to: none as suggested by the warning description.

image

Not sure this can be done now (if we support assists/quick-fixes in non-dart files), but it's not critical in any way, just a helping hand for someone like me who has lots of internal packages inside my company that depend on each other.

@dart-github-bot
Copy link
Collaborator

Summary: The user requests a quick-fix for invalid_dependency errors in pubspec.yaml files. The proposed fix adds publish_to: none to the file, as suggested by the warning message.

@dart-github-bot dart-github-bot added legacy-area-analyzer Use area-devexp instead. triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. type-enhancement A request for a change that isn't a bug labels Sep 4, 2024
@bwilkerson bwilkerson added P3 A lower priority bug or feature request devexp-quick-fix Issues with analysis server (quick) fixes labels Sep 4, 2024
@lrhn lrhn removed the triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. label Sep 6, 2024
@bwilkerson bwilkerson added area-devexp For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages. and removed legacy-area-analyzer Use area-devexp instead. labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-devexp For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages. devexp-quick-fix Issues with analysis server (quick) fixes P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants