jscs: add exit code 2 as valid (new in JSCS 1.3.0).

This commit is contained in:
LCD 47 2014-02-26 09:58:33 +02:00
parent 4196dd30df
commit 0bb8c7e5f6

View File

@ -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({