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

Setting useFlatConfig to true breaks ESLint integration for projects that use the older config style #143

Open
NathanKleekamp opened this issue Nov 30, 2023 · 1 comment

Comments

@NathanKleekamp
Copy link

If you set "eslint.experimental.useFlatConfig": true in the coc-settings.json file, it fails silently on projects that use ESLint's older config style. You get no warning that ESLint is essentially disabled.

When I switch projects, I have to manually update the coc-settings.json file. This doesn't happen in VSCode, which seems to determine per project the correct type of ESLint config to use.

@mcmire
Copy link

mcmire commented May 8, 2024

Can confirm. Was pulling my hair out trying to figure out why ESLint wasn't running in my project and remembered that I'd set this setting.

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