diff options
Diffstat (limited to 'ale_linters/astro/eslint.vim')
-rw-r--r-- | ale_linters/astro/eslint.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ale_linters/astro/eslint.vim b/ale_linters/astro/eslint.vim new file mode 100644 index 00000000..9fb51ad2 --- /dev/null +++ b/ale_linters/astro/eslint.vim @@ -0,0 +1,11 @@ +" Author: Hyuksang Kwon <gwonhyuksang@gmail.com> +" Description: eslint for astro files + +call ale#linter#Define('astro', { +\ 'name': 'eslint', +\ 'output_stream': 'both', +\ 'executable': function('ale#handlers#eslint#GetExecutable'), +\ 'cwd': function('ale#handlers#eslint#GetCwd'), +\ 'command': function('ale#handlers#eslint#GetCommand'), +\ 'callback': 'ale#handlers#eslint#HandleJSON', +\}) |