question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`import/no-unresolved` has false positives for search query

See original GitHub issue

image

Queries are supported: https://nodejs.org/api/esm.html#esm_url_based_paths

Using eslint@6.8.0 and eslint-plugin-import@2.20.2

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:5
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ljharbcommented, Oct 7, 2021

That seems like a super terrible recommendation, but thanks for the context.

The main challenge here is that resolve, and thus this plugin, does not support ESM yet - only transpiled ESM.

1reaction
ljharbcommented, Apr 29, 2020

Gross, but you’re right, they are 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

import/no-unresolved has false positives for search query #1739
The main challenge here is that resolve , and thus this plugin, does not support ESM yet - only transpiled ESM.
Read more >
eslint-config-ash-nazg - npm
Start using eslint-config-ash-nazg in your project by running `npm i eslint-config-ash-nazg`. There are no other projects in the npm ...
Read more >
Changelog | Stylelint
Fixed: *-no-unknown false positives for container queries (#6318) ... Fixed: no-invalid-position-at-import-rule false positives for @layer (#6094).
Read more >
Pylint unresolved import errors in VSCode (go-to definition ...
Other standard/pip-installed modules work fine. What I have done is: Created a Python venv and configured VSCode to use it as my interpreter ......
Read more >
TypeError: cannot use 'in' operator to search for 'x' in 'y'
The JavaScript exception "right-hand side of 'in' should be an object" occurs when the in operator was used to search in strings, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found