Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Mention "eslint.experimental.useFlatConfig" for IDE Settings #338

Closed
lewxdev opened this issue Mar 29, 2024 · 3 comments
Closed

Docs: Mention "eslint.experimental.useFlatConfig" for IDE Settings #338

lewxdev opened this issue Mar 29, 2024 · 3 comments

Comments

@lewxdev
Copy link

lewxdev commented Mar 29, 2024

In the Editor Integrations - Visual Studio Code section of the docs it fails to mention the following configuration

// .vscode/settings.json
{
  // ...
  "eslint.experimental.useFlatConfig": true
}

It appears to be necessary for the latest version (I am running v2.4.4) of the extension to get lint problems to show in the editor. This may not be necessary in the future, as there is an existing pre-release for v3+ that moves this out of "experimental" see the release notes on the extension

Reasoning: The docs currently recommend using the flat config and should at least mention how to get it fully working in Visual Studio Code. (plus, it took me too long to figure out I needed this in my project 😅)

@ota-meshi
Copy link
Owner

I don't think there is any need to explain the experimental settings. The flat config is not recommended as it is not yet GA. It is better to wait for the release of ESLint v9.

@lewxdev
Copy link
Author

lewxdev commented Apr 30, 2024

ESLint v9 is out

@ota-meshi
Copy link
Owner

I don't think eslint.experimental.useFlatConfig is needed in ESLint v9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants