Enable ESLint for Vue files by default

This commit is contained in:
w0rp 2018-11-08 09:18:58 +00:00
parent ad98cb7448
commit e4faf82cab
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
2 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@ let s:default_ale_linter_aliases = {
\ 'systemverilog': 'verilog', \ 'systemverilog': 'verilog',
\ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'], \ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'],
\ 'vimwiki': 'markdown', \ 'vimwiki': 'markdown',
\ 'vue': ['vue', 'javascript'],
\ 'zsh': 'sh', \ 'zsh': 'sh',
\} \}
@ -40,6 +41,7 @@ let s:default_ale_linters = {
\ 'rust': ['cargo'], \ 'rust': ['cargo'],
\ 'spec': [], \ 'spec': [],
\ 'text': [], \ 'text': [],
\ 'vue': ['eslint', 'vls'],
\ 'zsh': ['shell'], \ 'zsh': ['shell'],
\} \}

View File

@ -1364,6 +1364,7 @@ g:ale_linter_aliases *g:ale_linter_aliases*
\ 'systemverilog': 'verilog', \ 'systemverilog': 'verilog',
\ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'], \ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'],
\ 'vimwiki': 'markdown', \ 'vimwiki': 'markdown',
\ 'vue': ['vue', 'javascript'],
\ 'zsh': 'sh', \ 'zsh': 'sh',
\} \}
< <
@ -1421,6 +1422,7 @@ g:ale_linters *g:ale_linters*
\ 'rust': ['cargo'], \ 'rust': ['cargo'],
\ 'spec': [], \ 'spec': [],
\ 'text': [], \ 'text': [],
\ 'vue': ['eslint', 'vls'],
\ 'zsh': ['shell'], \ 'zsh': ['shell'],
\} \}
< <