import-js/eslint-plugin-import

Support URL imports

Open

#933 创建于 2017年9月25日

在 GitHub 查看
 (4 评论) (1 反应) (0 负责人)JavaScript (4,946 star) (1,540 fork)batch import
enhancementhelp wanted

描述

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

贡献者指南