eslint-module-utils 2.5.1 broken
See original GitHub issueHey, when using eslint-module-utils
2.5.1, my eslint stops being able to resolve most imports. I receive lots of errors of this type:
1:1 error Resolve error: unable to load resolver "node" import/namespace
Pinning it at 2.5.0 makes all the errors go away. I won’t ass lots of logs here as I assume it’s something obvious. If it turns out to be more complicated, let me know and I’ll give a full description of my setup. This was tested both with eslint 5.16.0 and 6.8.0.
Issue Analytics
- State:
- Created 4 years ago
- Comments:21 (9 by maintainers)
Top Results From Across the Web
eslint-module-utils 2.5.1 broken · Issue #1604
One of the changes in eslint-module-utils might cause dependencies that you previously were relying on being implicitly present to not be found.
Read more >eslint-module-utils
Core utilities to support eslint-plugin-import and other module-related plugins.. Latest version: 2.7.4, last published: 2 months ago.
Read more >Why (and How Can I FIx) ESLint import/no-extraneous ...
As for making a barrel file, that's exactly what lodash itself is (Lodash is a library of separate functions in one module): I'm...
Read more >eslint-plugin-import
All the goodness that the ES2015+ static module syntax intends to provide, marked up in your editor.
Read more >September 2021 Beta Release is Available!
TypeScript typings are currently broken. ... Migrate core/utils/xml.js to goog.module syntax (#5459) ... Fix eslint warning in core/utils/dom.js (#5256).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm that v2.5.2 fixes it for me! I was able to remove the explicit dependency on
eslint-module-utils
. Thank you for the wonderfully quick turnaround, @ljharb!I’m sorry that I wasn’t able to get you a repro repo. I’m glad you were able to find a solution despite that.
By the way, thank you @ljharb for maintaining this tool and responding on the weekend! And @johanneswilm, thank you for opening this issue - it helped me figure things out more quickly.