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

Lint for unversioned npm and jsr specifiers #1094

Open
dsherret opened this issue Oct 29, 2022 · 2 comments · May be fixed by #1362
Open

Lint for unversioned npm and jsr specifiers #1094

dsherret opened this issue Oct 29, 2022 · 2 comments · May be fixed by #1362

Comments

@dsherret
Copy link
Member

Doing something like import chalk from "npm:chalk" is nice for quick hacking, but shouldn't be used in real apps. I think maybe this lint might be best done in the cli though because it involves resolving import maps in some cases.

@JakeOShannessy
Copy link

Can this also be applied to jsr imports? This would be particularly useful as jsr itself rejects imports without version specifiers.

@dsherret dsherret changed the title Lint for unversioned npm specifiers Lint for unversioned npm and jsr specifiers Nov 22, 2024
@dsherret
Copy link
Member Author

For sure. This issue was just created before jsr existed.

@marvinhagemeister marvinhagemeister linked a pull request Nov 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants