Bug: typescript-eslint v7 config file fails tsc validation #8478
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
package: typescript-eslint
Issues related to the typescript-eslint package
Before You File a Bug Report Please Confirm You Have Done The Following...
Relevant Package
typescript-eslint
Playground Link
No response
Repro Code
ESLint Config
tsconfig
Expected Result
The
import tseslint from 'typescript-eslint'
line has no errors from the language-server. There is another bug (presumably related?) where ESLint complains about the use ofimport
. NamelyActual Result
The
import tseslint from 'typescript-eslint'
line errors from the language-server aboutCannot find module 'typescript-eslint' or its corresponding type declarations.ts(2307)
. Removing the// @ts-check
directive fixes this error however I don't believe this is the expected behaviour?Additional Info
TSServer points to
node_modules/typescript/lib
.Versions
typescript-eslint
^7.0.1
typescript
^5.3.3
eslint
^8.56.0
node
20.11.0
pnpm
8.15.2
The text was updated successfully, but these errors were encountered: