neoclide / coc-prettier

Prettier extension for coc.nvim.
MIT License
546 stars 48 forks source link

How to use eslint configuration? #147

Closed abidibo closed 2 years ago

abidibo commented 2 years ago

After a fresh install I can see that the prettier.eslintIntegration option is gone. So I've a difference between how mi code is formatted and how my code is linted.

Is there a way to make prettier work using the eslint rules again?

Thanks

chemzqm commented 2 years ago

You have to install prettier plugin with prettier used by coc-prettier and configure it https://github.com/neoclide/coc-prettier#plugins