mirror of
https://codeberg.org/Kankys/NewLukasBlog.git
synced 2026-11-11 14:14:36 +01:00
refactor
This commit is contained in:
1 parent
fc2547bd59
commit
231006e61d
2143 files changed
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
"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;
|
||||
};
|
||||
Reference in new issue
Block a user