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

Docs: Update plugin-missing error message #14003

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion messages/plugin-missing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ ESLint couldn't find the plugin "<%- pluginName %>".

(The package "<%- pluginName %>" was not found when loaded as a Node module from the directory "<%- resolvePluginsRelativeTo %>".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
If you've referenced the plugin in the `extends` array, double check that the format is `plugin:plugin-name/config-name`. There must be a slash (`/`) followed by the config name. Please consult the documentation for the plugin for more information.

If you've referenced the plugin in the `plugins` array, then it's likely the plugin isn't installed correctly. Try reinstalling by running the following:

npm install <%- pluginName %>@latest --save-dev

Expand Down