Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Yarn3 does not support
--ignore-workspace-root-check
error log
``` C:\\node_modules\execa\lib\error.js:60 error = new Error(message); ^Error: Command failed with exit code 1: yarn add --dev --ignore-workspace-root-check xo
Unknown Syntax Error: Unsupported option name ("--ignore-workspace-root-check").
$ yarn add [--json] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...
at makeError (C:\node_modules\execa\lib\error.js:60:11)
at handlePromise (C:\node_modules\execa\index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async createXo (file:////node_modules/create-xo/index.js:97:4) {
shortMessage: 'Command failed with exit code 1: yarn add --dev --ignore-workspace-root-check xo',
command: 'yarn add --dev --ignore-workspace-root-check xo',
escapedCommand: 'yarn add --dev --ignore-workspace-root-check xo',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: '\x1B[31m\x1B[1mUnknown Syntax Error\x1B[22m\x1B[39m: Unsupported option name ("--ignore-workspace-root-check").\n' +
'\n' +
'$ yarn add [--json] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...',
stderr: '',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}