diff --git a/vim/ftplugin/javascript.vim b/vim/ftplugin/javascript.vim index 657c2d0..ec0d71f 100644 --- a/vim/ftplugin/javascript.vim +++ b/vim/ftplugin/javascript.vim @@ -1,4 +1,6 @@ -let g:syntastic_javascript_checkers = ['standard'] +"let g:syntastic_javascript_checkers = ['standard'] +let g:syntastic_javascript_checkers = ['eslint'] +let g:syntastic_javascript_eslint_exe = '$(npm bin)/eslint' autocmd bufwritepost *.js silent !standard --fix % set autoread