summaryrefslogtreecommitdiff
path: root/ale_linters/typescript/eslint.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-06-20 10:50:38 +0100
committerw0rp <devw0rp@gmail.com>2017-06-20 10:50:38 +0100
commita105aa90a595ac5b8e2fe3f581a05bb705f5de21 (patch)
tree003b90a4bee11dc030cbbea7f2ad6a900107870c /ale_linters/typescript/eslint.vim
parentb96f5845ed7594cdc38355f6fae49a55a3725b2c (diff)
downloadale-a105aa90a595ac5b8e2fe3f581a05bb705f5de21.zip
Fix #668 - Support eslint for TypeScript
Diffstat (limited to 'ale_linters/typescript/eslint.vim')
-rw-r--r--ale_linters/typescript/eslint.vim9
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',
+\})