import-js / import-js/eslint-plugin-import
Support URL imports
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
With [ES modules having landed in Chrome and Safari](https://jakearchibald.com/2017/es-modules-in-browsers/) a few months ago, it would be great to support imports from URLs.

Right now, a statement like the above will generate three errors:
```text
'https:' should be listed in the project's dependencies.
Unable to resolve path to module ...
Unexpected use of file extension "js" for ...
```
Contributor guide
Research direction
Start by reproducing the URL import example and tracing the three diagnostics listed in the issue. Identify the rules or resolver paths responsible, then verify that URL imports no longer produce those errors while ordinary dependency and file-extension checks still behave as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100