Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False Positive node_module import/no-unresolved #761

Closed
patrickml opened this issue Mar 7, 2017 · 2 comments
Closed

False Positive node_module import/no-unresolved #761

patrickml opened this issue Mar 7, 2017 · 2 comments

Comments

@patrickml
Copy link

patrickml commented Mar 7, 2017

So, i am having something odd happen with a specific node_module package.

The package exists in my package.json and in my node_modules dir
image

But the linter keeps puking on this.
image

The same thing happens on other machines even when running eslint from the cli

another odd thing is that In runtime the package is found and use though

@ljharb
Copy link
Member

ljharb commented Mar 7, 2017

There's a bug in that package. https://unpkg.com/material-ui-superselectfield@1.1.0/package.json says "main" is lib/superSelectField.js but the filename is lib/SuperSelectField.js.

In other words, it would only work at runtime if you have a case-insensitive filesystem.

@patrickml
Copy link
Author

patrickml commented Mar 7, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants