ESLint cannot find files in tsconfig #17982
-
Node version: v18.16.1 This is my flat config for the ts plugin:
My
with {
"extends": "./tsconfig.json",
"exclude": ["**/node_modules/**/*", "**/*.test.ts"],
"include": ["**/*.ts", "**/*.tsx"]
} I'm getting this error, so presumably ESLint is struggling to interpret the tsconfig correctly. Worth noting that this is a migration from old config to flat config, and the tsconfig works fine in the old version.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @andyjessop, this error is coming from Note: |
Beta Was this translation helpful? Give feedback.
Hi @andyjessop, this error is coming from
typescript-eslint
a plugin that is not maintained by the ESLint team. Please consult the maintainers there for more help.Note:
typescript-eslint
does not at the moment support flat configs officially (tracking issue).