Urara-Blog/node_modules/.pnpm-store/v3/files/80/9f401499af8b6398b86e064b08bf436646fa124e90c444be862365624c90fd2c7adfb75e0bcbd9eccdcf1c8053b3ebc202d93739a2075c502efccd19f88799
2022-08-14 01:14:53 +08:00

22 lines
545 B
Text

"use strict";
module.exports = function(it) {
const { pluginId, plugins } = it;
let result = `ESLint couldn't determine the plugin "${pluginId}" uniquely.
`;
for (const { filePath, importerName } of plugins) {
result += `
- ${filePath} (loaded in "${importerName}")`;
}
result += `
Please remove the "plugins" setting from either config or remove either plugin installation.
If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
`;
return result;
};