Add support for javascript.jsx filetype

This commit is contained in:
Paolo Gavocanov
2016-10-03 10:56:59 +03:00
parent 40c01d2f14
commit 9051878466
3 changed files with 21 additions and 0 deletions

View File

@@ -48,3 +48,10 @@ call ALEAddLinter('javascript', {
\ 'command': 'jscs -r unix -n -',
\ 'callback': 'ale_linters#javascript#jscs#Handle',
\})
call ALEAddLinter('javascript.jsx', {
\ 'name': 'jscs',
\ 'executable': 'jscs',
\ 'command': 'jscs -r unix -n -',
\ 'callback': 'ale_linters#javascript#jscs#Handle',
\})