From e4faf82cab34869c5ecdc097b9eb0209c9ad9318 Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 8 Nov 2018 09:18:58 +0000 Subject: [PATCH] Enable ESLint for Vue files by default --- autoload/ale/linter.vim | 2 ++ doc/ale.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim index 114765e6..0a249282 100644 --- a/autoload/ale/linter.vim +++ b/autoload/ale/linter.vim @@ -16,6 +16,7 @@ let s:default_ale_linter_aliases = { \ 'systemverilog': 'verilog', \ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'], \ 'vimwiki': 'markdown', +\ 'vue': ['vue', 'javascript'], \ 'zsh': 'sh', \} @@ -40,6 +41,7 @@ let s:default_ale_linters = { \ 'rust': ['cargo'], \ 'spec': [], \ 'text': [], +\ 'vue': ['eslint', 'vls'], \ 'zsh': ['shell'], \} diff --git a/doc/ale.txt b/doc/ale.txt index d4223f84..505b94d8 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1364,6 +1364,7 @@ g:ale_linter_aliases *g:ale_linter_aliases* \ 'systemverilog': 'verilog', \ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'], \ 'vimwiki': 'markdown', + \ 'vue': ['vue', 'javascript'], \ 'zsh': 'sh', \} < @@ -1421,6 +1422,7 @@ g:ale_linters *g:ale_linters* \ 'rust': ['cargo'], \ 'spec': [], \ 'text': [], + \ 'vue': ['eslint', 'vls'], \ 'zsh': ['shell'], \} <