Browse Source

Use eslint to fix vue projects

coc
Schneider 7 years ago
parent
commit
6b2fb41108
  1. 4
      vim/ftplugin/javascript.vim

4
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

Loading…
Cancel
Save