Merge pull request #1044 from riobard/fix/jsxhint
jsxhint can be used independently.
This commit is contained in:
commit
9aa1a19699
@ -18,10 +18,6 @@ let s:save_cpo = &cpo
|
|||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
function! SyntaxCheckers_javascript_jsxhint_IsAvailable() dict
|
function! SyntaxCheckers_javascript_jsxhint_IsAvailable() dict
|
||||||
if !executable('jshint') || !syntastic#util#versionIsAtLeast(syntastic#util#getVersion('jshint --version'), [1, 1])
|
|
||||||
return 0
|
|
||||||
endif
|
|
||||||
|
|
||||||
let jsxhint_version = system(self.getExecEscaped() . ' --version')
|
let jsxhint_version = system(self.getExecEscaped() . ' --version')
|
||||||
return
|
return
|
||||||
\ v:shell_error == 0 &&
|
\ v:shell_error == 0 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user