home/dotfiles/.vim/ftplugin/javascript.vim

5 lines
171 B
VimL
Raw Normal View History

2020-08-17 11:52:31 +02:00
" Fix files with prettier, and then ESLint.
let b:ale_fixers = ['prettier', 'eslint']
" Equivalent to the above.
let b:ale_fixers = {'javascript': ['prettier', 'eslint']}