From 9051878466fcc3f01589d3015e6c8f5888984f68 Mon Sep 17 00:00:00 2001 From: Paolo Gavocanov Date: Mon, 3 Oct 2016 10:56:59 +0300 Subject: Add support for javascript.jsx filetype --- ale_linters/javascript/eslint.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ale_linters/javascript/eslint.vim') diff --git a/ale_linters/javascript/eslint.vim b/ale_linters/javascript/eslint.vim index 43e32c9b..8f829e28 100644 --- a/ale_linters/javascript/eslint.vim +++ b/ale_linters/javascript/eslint.vim @@ -48,3 +48,10 @@ call ALEAddLinter('javascript', { \ 'command': 'eslint -f unix --stdin', \ 'callback': 'ale_linters#javascript#eslint#Handle', \}) + +call ALEAddLinter('javascript.jsx', { +\ 'name': 'eslint', +\ 'executable': 'eslint', +\ 'command': 'eslint -f unix --stdin', +\ 'callback': 'ale_linters#javascript#eslint#Handle', +\}) -- cgit v1.2.3