jscs: add exit code 2 as valid (new in JSCS 1.3.0).
This commit is contained in:
parent
4196dd30df
commit
0bb8c7e5f6
@ -29,7 +29,7 @@ function! SyntaxCheckers_javascript_jscs_GetLocList() dict
|
|||||||
\ 'subtype': 'Style',
|
\ 'subtype': 'Style',
|
||||||
\ 'preprocess': 'SyntaxCheckers_java_checkstyle_Preprocess',
|
\ 'preprocess': 'SyntaxCheckers_java_checkstyle_Preprocess',
|
||||||
\ 'postprocess': ['sort'],
|
\ 'postprocess': ['sort'],
|
||||||
\ 'returns': [0] })
|
\ 'returns': [0, 2] })
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user