Use your local installation of eslint with syntastic.
Plug 'scrooloose/syntastic' | Plug 'hekmekk/syntastic-local-eslint'
scrooloose/syntastic
- clear
g:syntastic_javascript_checkers
- look for
eslint
within...- first, your local project:
./node_modules/.bin
- then your globally installed packages:
/node_modules/.bin
- first, your local project:
- set
g:syntastic_eslint_exec
accordingly
Eduardo Nunes basically wrote this snippet here.