From 0bb8c7e5f627d3c87b3748f68fc4fc8d017c1b9b Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Wed, 26 Feb 2014 09:58:33 +0200 Subject: [PATCH] jscs: add exit code 2 as valid (new in JSCS 1.3.0). --- syntax_checkers/javascript/jscs.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/javascript/jscs.vim b/syntax_checkers/javascript/jscs.vim index 2c1e54f9..91b93d20 100644 --- a/syntax_checkers/javascript/jscs.vim +++ b/syntax_checkers/javascript/jscs.vim @@ -29,7 +29,7 @@ function! SyntaxCheckers_javascript_jscs_GetLocList() dict \ 'subtype': 'Style', \ 'preprocess': 'SyntaxCheckers_java_checkstyle_Preprocess', \ 'postprocess': ['sort'], - \ 'returns': [0] }) + \ 'returns': [0, 2] }) endfunction call g:SyntasticRegistry.CreateAndRegisterChecker({