denoland / deno_lint

Blazing fast linter for JavaScript and TypeScript written in Rust
https://lint.deno.land/
MIT License
1.51k stars 163 forks source link

Lint rule for non-bare specifier #1238

Open dsherret opened 5 months ago

dsherret commented 5 months ago

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).