Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unmet peer eslint@^8.56.0: found 9.5.0 #518

Open
7 tasks done
liu-xinhui opened this issue Jun 26, 2024 · 3 comments
Open
7 tasks done

unmet peer eslint@^8.56.0: found 9.5.0 #518

liu-xinhui opened this issue Jun 26, 2024 · 3 comments

Comments

@liu-xinhui
Copy link

Describe the bug

 WARN  Issues with peer dependencies found
.
└─┬ @antfu/eslint-config 2.21.1
├─┬ @stylistic/eslint-plugin 2.3.0
│ └─┬ @stylistic/eslint-plugin-plus 2.3.0
│ └─┬ @typescript-eslint/utils 7.14.1
│ └── ✕ unmet peer eslint@^8.56.0: found 9.5.0
├─┬ @typescript-eslint/eslint-plugin 7.14.1
│ ├── ✕ unmet peer eslint@^8.56.0: found 9.5.0
│ └─┬ @typescript-eslint/type-utils 7.14.1
│ └── ✕ unmet peer eslint@^8.56.0: found 9.5.0
├─┬ @typescript-eslint/parser 7.14.1
│ └── ✕ unmet peer eslint@^8.56.0: found 9.5.0
└─┬ eslint-plugin-unused-imports 3.2.0
└── ✕ unmet peer eslint@8: found 9.5.0

Reproduction

unmet peer eslint@^8.56.0: found 9.5.0

System Info

 WARN  Issues with peer dependencies found
.
└─┬ @antfu/eslint-config 2.21.1
  ├─┬ @stylistic/eslint-plugin 2.3.0
  │ └─┬ @stylistic/eslint-plugin-plus 2.3.0
  │   └─┬ @typescript-eslint/utils 7.14.1
  │     └── ✕ unmet peer eslint@^8.56.0: found 9.5.0
  ├─┬ @typescript-eslint/eslint-plugin 7.14.1
  │ ├── ✕ unmet peer eslint@^8.56.0: found 9.5.0
  │ └─┬ @typescript-eslint/type-utils 7.14.1
  │   └── ✕ unmet peer eslint@^8.56.0: found 9.5.0
  ├─┬ @typescript-eslint/parser 7.14.1
  │ └── ✕ unmet peer eslint@^8.56.0: found 9.5.0
  └─┬ eslint-plugin-unused-imports 3.2.0
    └── ✕ unmet peer eslint@8: found 9.5.0

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
@Dimava
Copy link
Contributor

Dimava commented Jun 27, 2024

Upstream bug I guess
typescript-eslint/typescript-eslint#9413

@shimarulin
Copy link

Workaround:

Add to package.json:

  "pnpm": {
    "peerDependencyRules": {
      "allowedVersions": {
        "eslint": "9"
      }
    }
  }

@gt-packages
Copy link

Works better with 2.22.0.beta.3.
But still one dependency issue with eslint-plugin-import-x:

2024-07-08_16-44-21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants