Open liu-xinhui opened 1 week ago
Upstream bug I guess https://github.com/typescript-eslint/typescript-eslint/pull/9413
Workaround:
Add to package.json
:
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"eslint": "9"
}
}
}
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
Used Package Manager
pnpm
Validations
Contributions