This change modifies the build scripts to use --legacy-peer-deps flag when installing npm dependencies to resolve potential peer dependency conflicts during the build process. The change is applied to both bash (build.sh) and batch (build.bat) build scripts.
12 lines
391 B
JavaScript
12 lines
391 B
JavaScript
"use strict";
|
|
|
|
module.exports = function(it) {
|
|
const { pluginName } = it;
|
|
|
|
return `
|
|
ESLint couldn't find the plugin "${pluginName}". because there is whitespace in the name. Please check your configuration and remove all whitespace from the plugin name.
|
|
|
|
If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
|
|
`.trimStart();
|
|
};
|