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

useFlatConfig enabled by default? #1778

Closed
aladdin-add opened this issue Jan 24, 2024 · 1 comment
Closed

useFlatConfig enabled by default? #1778

aladdin-add opened this issue Jan 24, 2024 · 1 comment

Comments

@aladdin-add
Copy link

aladdin-add commented Jan 24, 2024

The flat config in ESLint has reached stability and will be enabled by default in ESLint v9. To activate it in vscode-eslint, use "eslint.experimental.useFlatConfig": true(the default is false). It seems like an opportune moment to enable it by default. The API shouldUseFlatConfig() can be employed for checking:

const {shouldUseFlatConfig} = require("eslint/use-at-your-own-risk");

shouldUseFlatConfig(); // => ...

refs: https://eslint.org/blog/2023/10/flat-config-rollout-plans/

@aladdin-add
Copy link
Author

/dupl #1644

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

1 participant