import/no-unresolved
See original GitHub issueI am using the vscode editor and am having problems with eslint validation of false-positive type. My operating system mac os (high sierra).
More details:
Error:
[eslint] Casing of [relative path] does not match the underlying filesystem. (import / no-unresolved)
module "[module path]"
"eslint": "^4.8.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-import-resolver-webpack": "^0.8.3",
"eslint-plugin-import": "^2.6.0",
"eslint-plugin-jest": "^21.2.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:10 (2 by maintainers)
Top Results From Across the Web
eslint-plugin-import/no-unresolved.md at main - GitHub
ESLint plugin with rules that help validate proper imports. - eslint-plugin-import/no-unresolved.md at main · import-js/eslint-plugin-import.
Read more >How to remove ESlint error no-unresolved from importing 'react'
Try installing eslint-import-resolver-webpack and adding this to your ... Enable the rule within your config: 'import/no-unresolved': 'error ...
Read more >import/no-unresolved - GitLab
import /no-unresolved ... Ensures an imported module can be resolved to a module on the local filesystem, as defined by standard Node require....
Read more >eslint-import-resolver-typescript - npm
This plugin adds `TypeScript` support to `eslint-plugin-import`. Latest version: 3.5.2, last published: 2 months ago.
Read more >eslint/eslint - Gitter
FicDataCards.scss'.eslint(import/no-unresolved). I'm getting this error in simple stuff like this. import './FicDataCards.scss';.
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 Free
Top 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
I am seeing this when via command line when running it through a setup similar to how create-react-app works. We have a project that houses our webpack build alongside our application boilerplate. I was seeing the error in this app as well until I upgraded all eslint dependencies and it has now disappeared.
After creating a new app using the boilerplate (which is CRA compatible), the new application suffers this problem. This occurs when running eslint via the build script (which uses eslint-loader inside of webpack) and also when running via command line (
npx eslint src
). The plugin inside of Atom is not affected by this issue for some reason.EDIT: I have realised that it is actually an occurrence of #720 as my current working directory in Git Bash did not match the casing of the folder structure on disk. As far as I can tell, #720 should be fixed and is in v2.8.0 but I am still seeing it.
I’m having the exact same issue with Atom.