Syntastic - display both jslint and jshint errors

I just configured my Vim to use Syntastic - which works great! I use it to check javascript.

I have two lints installed: jslint and jshint, and I intend to keep them. But Syntastic doesn't seem to want to report two errors at the same time: I get the first errors from jshint, and then only jslint when I fixed the previous ones.

Anyway, could I have two at the same time?

+3
source share
1 answer

You need to set the option g:syntastic_aggregate_errorsto 1 (this default value is 0):

let g:syntastic_aggregate_errors = 1

This is from the documentation:

, , , , , . , , .

+6

All Articles