Skip to content

🐛 Package with devDependency on typescript@^3.9.9 can't npm install with typescript@>=4.8.4 peer dependency added in v8.18 #10480

Closed as not planned
@ljharb

Description

@ljharb

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have searched for related issues and found none that matched my issue.
  • I have read the FAQ and my problem is not listed.

Playground Link

https://typescript-eslint.io/play/

Repro Code

`npm show @typescript-eslint/parser@8.17 peerDependencies`

vs

`npm show @typescript-eslint/parser@8.18 peerDependencies`

ESLint Config

module.exports = {
  parser: "@typescript-eslint/parser",
  rules: {
    "@typescript-eslint/<rule-name>": ["error", ...<options>],
  },
};

tsconfig

{
  "compilerOptions": {
    // ...
  }
}

Expected Result

n/a

Actual Result

n/a

Additional Info

Adding a peer dependency is always a breaking change, and this one is breaking eslint-plugin-react's tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: eslint-pluginIssues related to @typescript-eslint/eslint-plugintriageWaiting for team members to take a look

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions