From d2c0d4d83e63da866be1fa104d2f08ab67447767 Mon Sep 17 00:00:00 2001 From: Riobard Date: Sat, 5 Apr 2014 03:38:08 -0230 Subject: [PATCH] jsxhint can be used independently. jsxhint uses its own jshint dep and does not require jshint to be system-wide available. Removed the check for `jshint`. --- syntax_checkers/javascript/jsxhint.vim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/syntax_checkers/javascript/jsxhint.vim b/syntax_checkers/javascript/jsxhint.vim index 3a77aba0..21ba6a04 100644 --- a/syntax_checkers/javascript/jsxhint.vim +++ b/syntax_checkers/javascript/jsxhint.vim @@ -18,10 +18,6 @@ let s:save_cpo = &cpo set cpo&vim 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') return \ v:shell_error == 0 &&