Skip to content

Bug: @types/eslint causing flat-config-types integration test failure on main #9615

Closed
@abrahamguo

Description

@abrahamguo

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.

Issue Description

The flat-config-types integration test is currently failing on main because of a TypeScript error. This is because yarn is providing @types/eslint@9.7.0 for @stylistic/eslint-plugin, when @stylistic/eslint-plugin is asking for @types/eslint@8.56.11.

Reproduction Repository Link

https://github.com/abrahamguo/repro/tree/stylistic-integration

Repro Steps

  1. clone the repo
  2. yarn
  3. npx tsc
  4. TS errors are reported from the declaration files in @stylistic/eslint-plugin, and node_modules/@types/eslint/package.json reports version 9.6.0.

Versions

package version
@typescript-eslint/integration-tests integration test fails on main, version doesn't matter
TypeScript 5.5.2

Metadata

Metadata

Assignees

Labels

accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions