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

chore(lsp): remove diagnostics for redirected http imports #23701

Closed

Conversation

nayeemrmn
Copy link
Collaborator

@nayeemrmn nayeemrmn commented May 5, 2024

These 'info' diagnostics are bothersome to users. If it's not a warning or error we shouldn't show it. We added these to discourage unversioned deno.land/x imports but we can possibly pivot to more targeted diagnostics for jsr: and npm: specifiers in the future.

Diagnostics for extensionless imports under --unstable-sloppy-imports are preserved and upgraded to warnings ('redirect' -> 'canonicalization').

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like these diagnostics. I don't think we should remove them. Probably we should move this to a cli-based deno lint rule.

@nayeemrmn nayeemrmn closed this May 13, 2024
@nayeemrmn nayeemrmn deleted the lsp-redirect-diagnostic-remove branch May 13, 2024 16:57
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

Successfully merging this pull request may close these issues.

None yet

2 participants