Skip to content

Lint rule for non-bare specifier #1238

@dsherret

Description

@dsherret

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions