coc-eslint: Errors not showing up
I got the coc-nvim plugin installed, as well as coc-eslint installed and pointed at the correct node_modules
directory.
Coc logs suggest that eslint started just fine.
But Whatever I do, I cannot get coc to highlight an error. It works well for other languages. I have tried writing the file, closing it and reopening it, switching modes, etc.
But if I deliberately type gibberish it will not highlight as an error. Am I missing something in my config?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (7 by maintainers)
Fixed on lastest coc.nvim.
Checkout the last comment, it was fixed on coc.nvim, you need to upgrade coc.
I can confirm this is still an issue. I intentionally removed a semi colon from an expression (see image below) and my .eslintrc.json file always requires semicolons.
Here’s my .eslintrc.json file:
Here’s the same file opened in VSCode, which reports the error:
If you have a configuration file in your home directory (generally ~/), ESLint uses it only if ESLint cannot find any other configuration file.