mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-20 21:07:04 +08:00
Add support for javascript.jsx filetype
This commit is contained in:
1 parent
40c01d2f14
commit
9051878466
3 files changed
+21
No files matched your search
@@ -48,3 +48,10 @@ call ALEAddLinter('javascript', {
|
|||||||
\ 'command': 'eslint -f unix --stdin',
|
\ 'command': 'eslint -f unix --stdin',
|
||||||
\ 'callback': 'ale_linters#javascript#eslint#Handle',
|
\ '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',
|
||||||
|
\})
|
||||||
@@ -48,3 +48,10 @@ call ALEAddLinter('javascript', {
|
|||||||
\ 'command': 'jscs -r unix -n -',
|
\ 'command': 'jscs -r unix -n -',
|
||||||
\ 'callback': 'ale_linters#javascript#jscs#Handle',
|
\ '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',
|
||||||
|
\})
|
||||||
@@ -56,3 +56,10 @@ call ALEAddLinter('javascript', {
|
|||||||
\ 'command': 'jshint --reporter unix --config ' . g:ale_jshint_config_loc . ' -',
|
\ 'command': 'jshint --reporter unix --config ' . g:ale_jshint_config_loc . ' -',
|
||||||
\ 'callback': 'ale_linters#javascript#jshint#Handle',
|
\ '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',
|
||||||
|
\})
|
||||||
Reference in new issue
Block a user