ESLint - import/no-unresolved while using wp-scripts lint-js #68395
Labels
[Tool] ESLint plugin
/packages/eslint-plugin
[Type] Bug
An existing feature does not function as intended
Description
I'm working on Wordpress plugin that is using React on the admin area. When I'm trying to run
npx wp-scripts lint-js
command I'm getting errorserror Unable to resolve path to module
with typeimport/no-unresolved
. Also in my vscode/windsurf, when I hover on import I have message with the same errorStep-by-step reproduction instructions
Screenshots, screen recording, code snippet
So, this is the sample
Sample.js
eslintrc.js
jsconfig.json
webpack.config.js
package.json
Environment info
Directory inside Ubuntu WSL
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: