]> git.proxmox.com Git - pve-eslint.git/blob - eslint/messages/plugin-missing.js
f58c78ceb3811d9ec7fdf5b5cdf537c97cfd7556
[pve-eslint.git] / eslint / messages / plugin-missing.js
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 `.trimLeft();
19 };