main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
545 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | module.exports = function(it) {
|
---|
4 | const { pluginId, plugins } = it;
|
---|
5 |
|
---|
6 | let result = `ESLint couldn't determine the plugin "${pluginId}" uniquely.
|
---|
7 | `;
|
---|
8 |
|
---|
9 | for (const { filePath, importerName } of plugins) {
|
---|
10 | result += `
|
---|
11 | - ${filePath} (loaded in "${importerName}")`;
|
---|
12 | }
|
---|
13 |
|
---|
14 | result += `
|
---|
15 |
|
---|
16 | Please remove the "plugins" setting from either config or remove either plugin installation.
|
---|
17 |
|
---|
18 | If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
|
---|
19 | `;
|
---|
20 |
|
---|
21 | return result;
|
---|
22 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.