neoclide / coc-eslint

Eslint extension for coc.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Got error when run new project

dinhmai74 opened this issue · comments

I got warning Prettier ESLint not approved or denied yet. How can I fix it?

Read readme.

I read the README and there is no mention about this error. Please reopen

To answer to anyone that don't find the solution, type :CocCommand eslint.showOutputChannel and approve the execution.

@chemzqm there are many stuffs that are not OK inside the README file, this command is missing and there is "eslint.enable" witch is not valid since several versions.

Regards,

eslint.enable is configuration.

OK, I had this line but I need to launch the showOutputChannel command anyway.

That's weird but CocConfig gives me an error when I set eslint.enable to true... I'm checking again.

Thanks @metal3d I am getting the same error when setting eslint.enable: true in coc-settings.json

I went with CocCommand eslint.showOutputChannel and enabled it.