deno_lint icon indicating copy to clipboard operation
deno_lint copied to clipboard

Rule suggestion: no-external-imports (enforce deps.ts convention)

Open gewoonwoutje opened this issue 3 years ago • 1 comments

I'd like to use a deps.ts and/or import map to load external imports (i.e. non-relative imports), and would like to enforce this convention. In other words, I'd like to block using imports from https://... sources in all files, except import maps and a deps.ts dependencies file (/ files excluded with an ignore pragma).

gewoonwoutje avatar Oct 20 '21 11:10 gewoonwoutje

If nobody is already working on this PR, I'd like to work on it

hosseind88 avatar Feb 17 '22 18:02 hosseind88