import-js/eslint-plugin-import

Support URL imports

Open

#933 aperta il 25 set 2017

Vedi su GitHub
 (4 commenti) (1 reazione) (0 assegnatari)JavaScript (1540 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (4946 star)
Metriche merge PR
 (Merge medio 138g 22h) (3 PR mergiate in 30 g)

Descrizione

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

Guida contributor