diff options
author | Paolo Gavocanov <paolo.gavocanov@infobip.com> | 2016-10-03 10:56:59 +0300 |
---|---|---|
committer | Paolo Gavocanov <paolo.gavocanov@infobip.com> | 2016-10-03 10:56:59 +0300 |
commit | 9051878466fcc3f01589d3015e6c8f5888984f68 (patch) | |
tree | 2e41d70f6e4de42241b5f61ebb308f4a5236bfd4 /ale_linters/javascript/jshint.vim | |
parent | 40c01d2f14a6b24ce196a31ac0027ee262723fc4 (diff) | |
download | ale-9051878466fcc3f01589d3015e6c8f5888984f68.zip |
Add support for javascript.jsx filetype
Diffstat (limited to 'ale_linters/javascript/jshint.vim')
-rw-r--r-- | ale_linters/javascript/jshint.vim | 7 |
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', +\}) |