summaryrefslogtreecommitdiff
path: root/ale_linters/javascript/jshint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/javascript/jshint.vim')
-rw-r--r--ale_linters/javascript/jshint.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim
index ff440221..2de755c0 100644
--- a/ale_linters/javascript/jshint.vim
+++ b/ale_linters/javascript/jshint.vim
@@ -56,3 +56,10 @@ call ALEAddLinter('javascript', {
\ 'command': 'jshint --reporter unix --config ' . g:ale_jshint_config_loc . ' -',
\ 'callback': 'ale_linters#javascript#jshint#Handle',
\})
+
+call ALEAddLinter('javascript.jsx', {
+\ 'name': 'jshint',
+\ 'executable': 'jshint',
+\ 'command': 'jshint --reporter unix --config ' . g:ale_jshint_config_loc . ' -',
+\ 'callback': 'ale_linters#javascript#jshint#Handle',
+\})