From: Ben Beltran Date: Tue, 18 Feb 2020 22:43:28 +0000 (+0100) Subject: Add svelte config for ALE X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/d2cf7ebb63d485229e8fe295de5cf5e01aef7096?ds=sidebyside;hp=--cc Add svelte config for ALE --- d2cf7ebb63d485229e8fe295de5cf5e01aef7096 diff --git a/vimrc b/vimrc index affae76..290bc11 100755 --- a/vimrc +++ b/vimrc @@ -103,7 +103,16 @@ set rtp+=/usr/local/opt/fzf noremap :FZF " ALE config -let g:ale_linters = {'javascript': ['eslint']} +let g:ale_linter_aliases = {'svelte': ['css', 'javascript']} +let g:ale_linters = { + \'javascript': ['eslint'], + \'svelte': ['stylelint', 'eslint'] + \} +let g:ale_fixers = { + \'javascript': ['eslint'], + \'svelte': ['eslint'] + \} +let g:ale_fix_on_save = 1 " " A E S T H E T I C S