hekmekk / syntastic-local-eslint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

syntastic-local-eslint

Use your local installation of eslint with syntastic.

Installation

Plug 'scrooloose/syntastic' | Plug 'hekmekk/syntastic-local-eslint'

Dependencies

  • scrooloose/syntastic

How it works

  • clear g:syntastic_javascript_checkers
  • look for eslint within...
    • first, your local project: ./node_modules/.bin
    • then your globally installed packages: /node_modules/.bin
  • set g:syntastic_eslint_exec accordingly

Credits

Eduardo Nunes basically wrote this snippet here.

About

License:MIT License


Languages

Language:Vim Script 100.0%