main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
668 bytes
|
Rev | Line | |
---|
[d565449] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | module.exports = function(it) {
|
---|
| 4 | const { pluginName, resolvePluginsRelativeTo, importerName } = it;
|
---|
| 5 |
|
---|
| 6 | return `
|
---|
| 7 | ESLint couldn't find the plugin "${pluginName}".
|
---|
| 8 |
|
---|
| 9 | (The package "${pluginName}" was not found when loaded as a Node module from the directory "${resolvePluginsRelativeTo}".)
|
---|
| 10 |
|
---|
| 11 | It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
|
---|
| 12 |
|
---|
| 13 | npm install ${pluginName}@latest --save-dev
|
---|
| 14 |
|
---|
| 15 | The plugin "${pluginName}" was referenced from the config file in "${importerName}".
|
---|
| 16 |
|
---|
| 17 | If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
|
---|
| 18 | `.trimStart();
|
---|
| 19 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.