A simple plugin to prioritise local Stylelint.
Using Pathogen:
Clone this repository into ~/.vim/bundle
Using Vim plug:
Add Plug 'dawoonchung/syntastic-local-stylelint.vim'
to your vim-plug configuration file.
This plugin does not enable Stylelint. You still need to add
let g:syntastic_css_checkers = ['stylelint']
and/or
let g:syntastic_scss_checkers = ['stylelint']
to your .vimrc
in order to enable the syntax checker for CSS and/or SCSS.
Original script for searching local npm installation done by @mtscout6.