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

are there plans to support eslint 9? #147

Open
norflin321 opened this issue May 14, 2024 · 3 comments
Open

are there plans to support eslint 9? #147

norflin321 opened this issue May 14, 2024 · 3 comments

Comments

@norflin321
Copy link

No description provided.

@fannheyward
Copy link
Member

coc-eslint already supports ESLint 9, you need to install eslint to your project.

@norflin321
Copy link
Author

i have eslint installed in my project, the problem is that when i use eslint < 9 with local json config file ".eslintrc.json", coc-eslint correctly find the rules specified in the config and take them into account, but when I simply upgrade project to eslint 9 and use its new config (which, as I understand it, must be in the js file), coc-eslint stops taking into account any rules specified in the new config. Perhaps because he does not understand that he needs to use this config file? but with the previous version it found the config file itself (I do not specify it somewhere on my own)

@fannheyward
Copy link
Member

Enable eslint.experimental.useFlatConfig and try again.

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