import-js/eslint-plugin-import

Support URL imports

Open

#933 aberto em 25 de set. de 2017

Ver no GitHub
 (4 comments) (1 reaction) (0 assignees)JavaScript (1.540 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (4.946 stars)
Métricas de merge de PR
 (Mesclagem média 138d 22h) (3 fundiu PRs em 30d)

Description

With ES modules having landed in Chrome and Safari a few months ago, it would be great to support imports from URLs.

image

Right now, a statement like the above will generate three errors:

'https:' should be listed in the project's dependencies.
Unable to resolve path to module ...
Unexpected use of file extension "js" for ...

Guia do colaborador