Skip to content

PeerDependencies are broken since 1.0.0 with yarn modern #832

@Waxo

Description

@Waxo

When creating a new project with yarn modern and installing xo > 1.0.0 there are some peer dependencies problems.

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions