Closed ArtemSmaznov closed 3 years ago
I have installed eslint via npm separately and now it works within vim. Guess I just expected it to be packaged within the plugin
eslint.config.js
is needed?
Yes.
I created a PR to upgrade the Readme about that, feel free to contribute https://github.com/neoclide/coc-eslint/issues/102
Description
Hi, I am currently trying to set up
coc-esling
for my Vim cannot seem to make it work. Not sure if I am missing some steps or if something is wrong with what I am doing. Been at it for a few days now and cannot find any solution. When I installcoc-prettier
,coc-tsserver
orcoc-json
they just start working straight away and I immediately see the formatting and errors in myexample.js
. But when I installcoc-eslint
I am not really getting anything.My Step-by-Step setup
In order to exclude any conflicts with my config I have set up vim on a new arch linux machine:
vim
andnpm
from pacman~/.vimrc
plug.vim
coc
CocConfig
coc-eslint
.eslintConfig
in the project directory (secondary question: is it possible to set the rules globally?)example.js
var
instead oflet
, etc.My Configs
CocInfo
Would appreciate any help in what configuration am I missing for it to work.