Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Description
Edit:typescript-eslint@>=v7 supports ESLint flat config! See:https://typescript-eslint.io/blog/announcing-typescript-eslint-v7
Overview
ESLint is adding an exciting new config system called "flat" configs:
- Configuration files docs:https://eslint.org/docs/latest/use/configure/configuration-files-new
- Configuration migration guide:https://eslint.org/docs/latest/use/configure/migration-guide
@typescript-eslint/eslint-plugin
does not yet officially support ESLint flat configs. We'd certainly like it to soon. But doing so is a nontrivial in-progress task and isn't done yet. Flat configs with TypeScript codemay work in your specific project. They may not.
Tracking references:
- feat: add types for flat config files #7273: adding type definitions to work with well-typed flat config files
- Change Request: document flat configs in plugins eslint/eslint#17242: upstream ESLint issue for adding the docs we need to know how to provide support
- feat: add support for flat configs #7935: adds support for flat config files to our tooling
If you're filing a complex / configuration issue on typescript-eslint, for now, please make sure you're using traditional ESLint configs. We'll post back in this issue once we can officially provide support for using@typescript-eslint/eslint-plugin
with flat configs.