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

[eslint-plugin] Error: ESLint couldn't find the plugin "eslint-plugin-import" #28391

Closed
marekdedic opened this issue Jan 21, 2021 · 2 comments · Fixed by #28545
Closed

[eslint-plugin] Error: ESLint couldn't find the plugin "eslint-plugin-import" #28391

marekdedic opened this issue Jan 21, 2021 · 2 comments · Fixed by #28545
Assignees
Labels
[Status] In Progress Tracking issues with work in progress [Tool] ESLint plugin /packages/eslint-plugin [Type] Bug An existing feature does not function as intended

Comments

@marekdedic
Copy link
Contributor

Description

Hi, after updating @wordpress/eslint-plugin to version 8.0.0, I am getting the error ESLint couldn't find the plugin "eslint-plugin-import". I don't have this package installed and do not use it. This seems to me like @wordpress/eslint-plugin depends on eslint-plugin-import but does not have it listed in its dependencies (as confirmed by looking at its package.json).

Step-by-step reproduction instructions

Please do see https://github.com/skaut/skaut-google-drive-gallery/pull/814/checks?check_run_id=1740746218

Expected behaviour

Linting works...

Actual behaviour

Eslint crashes with the aforementioned error.

Device information

  • Device: Desktop
  • Operating system: Debian testing

Please let me know if additional info is needed.

@gziolo
Copy link
Member

gziolo commented Jan 28, 2021

@wordpress/[email protected] is available on npm with the fix included.

@marekdedic
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] In Progress Tracking issues with work in progress [Tool] ESLint plugin /packages/eslint-plugin [Type] Bug An existing feature does not function as intended
Projects
None yet
2 participants