import-js/eslint-plugin-import

Support URL imports

Open

#933 ouverte le 25 sept. 2017

Voir sur GitHub
 (4 commentaires) (1 réaction) (0 assignés)JavaScript (1 540 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (4 946 stars)
Métriques de merge PR
 (Merge moyen 138j 22h) (3 PRs mergées en 30 j)

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

Guide contributeur