diff options
author | w0rp <devw0rp@gmail.com> | 2017-06-20 10:50:38 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-06-20 10:50:38 +0100 |
commit | a105aa90a595ac5b8e2fe3f581a05bb705f5de21 (patch) | |
tree | 003b90a4bee11dc030cbbea7f2ad6a900107870c /ale_linters/typescript | |
parent | b96f5845ed7594cdc38355f6fae49a55a3725b2c (diff) | |
download | ale-a105aa90a595ac5b8e2fe3f581a05bb705f5de21.zip |
Fix #668 - Support eslint for TypeScript
Diffstat (limited to 'ale_linters/typescript')
-rw-r--r-- | ale_linters/typescript/eslint.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/typescript/eslint.vim b/ale_linters/typescript/eslint.vim new file mode 100644 index 00000000..f1ae54e7 --- /dev/null +++ b/ale_linters/typescript/eslint.vim @@ -0,0 +1,9 @@ +" Author: w0rp <devw0rp@gmail.com> +" Description: eslint for JavaScript files + +call ale#linter#Define('typescript', { +\ 'name': 'eslint', +\ 'executable_callback': 'ale#handlers#eslint#GetExecutable', +\ 'command_callback': 'ale#handlers#eslint#GetCommand', +\ 'callback': 'ale#handlers#eslint#Handle', +\}) |