Open gryzzly opened 8 years ago
I have the same issue, i'm not able tu make it run
I have the same issue. Adding this to my configuration to run the version of eslint
in the current repo:
let s:eslint_path = system('PATH=$(npm bin):$PATH && which eslint')
let b:syntastic_javascript_eslint_exec = substitute(s:eslint_path, '^\n*\s*\(.\{-}\)\n*\s*$', '\1', '')
only works if I run source ~/.vimrc
.
I am having the same issue. Trying to get ESLint to run in Vim to no avail. Tried to add my Syntastic config to .vimrc.before
and .vimrc.after
and neither worked. :/
Custom syntastic config in .vimrc.after
works for me as expected, without issue.
To use the local eslint
from the current repo, I installed this without any extra config: https://github.com/mtscout6/syntastic-local-eslint.vim
Note:
:SyntasticCheck
and :Errors
:let g:syntastic_debug=3
:SyntasticCheck eslint
:mes
Hi, I'm trying to use Janus and add custom settings for Syntastic.
If I place the following in either
~/.vimrc.before
or~/.vimrc.after
the settings are not picked up:If I run
source ~/.vimrc.before
after Vim has init, the settings are picked up.What am I doing wrong?
Thanks!