When creating a new project with yarn modern and installing xo > 1.0.0 there are some peer dependencies problems.
To replicate
mkdir tmp && cd tmp && yarn set version berry && yarn add --dev xo
With package.json
{
"scripts": {
"lint": "xo"
},
"packageManager": "yarn@4.9.4",
"devDependencies": {
"xo": "^1.2.2"
}
}
Running yarn lint will exit with error and you can use yarn explain peer-requirements to view the screen above.
@stylistic/eslint-plugin seems faulty too.