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 rule for non-bare specifier #1238

Open
dsherret opened this issue Jan 28, 2024 · 0 comments
Open

Lint rule for non-bare specifier #1238

dsherret opened this issue Jan 28, 2024 · 0 comments
Labels
feature a new feature good first issue Good for newcomers help wanted Extra attention is needed

Comments

@dsherret
Copy link
Member

Bad:

import * as path from "https://deno.land/std/path/mod.ts";

Good (uses import map):

import * as path from "@std/path";

Why: I want to ensure my dependenices are defined in the deno.json file instead of accidentally in the code (ex. via an auto-import going crazy).

@bartlomieju bartlomieju added help wanted Extra attention is needed good first issue Good for newcomers feature a new feature labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a new feature good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants