import-js/eslint-plugin-import

Support URL imports

Open

#933 opened on Sep 25, 2017

View on GitHub
 (4 comments) (1 reaction) (0 assignees)JavaScript (1,540 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (4,946 stars)
PR merge metrics
 (Avg merge 138d 22h) (3 merged PRs in 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 ...

Contributor guide