Commit Graph

11 Commits

Author SHA1 Message Date
LCD 47
de0106e839 JSCS checker: add "--max-errors -1" option.
Limiting the number of errors causes an error message to be printed to
stderr, which in turn breaks JSON parsing.
2016-01-29 20:56:37 +02:00
LCD 47
751afea9e0 JSCS checker: use JSON reporter. 2015-12-28 11:30:52 +02:00
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02:00
LCD 47
1d2f8d514a Formatting: folding. 2015-01-04 12:46:54 +02:00
LCD 47
57f1a0eb20 New user variables: syntastic_<filetype>_<checker>_sort. 2014-10-24 15:55:47 +03:00
LCD 47
68131a7679 Bug fix: error sorting.
Error sorting can't be done as a postprocess function called from
SyntasticMake(), since the final values of some relevant fields (f.i.
type) might not be known yet at that point.  Solution: move sorting to
getLocListRaw(), after per-checker quiet_messages.  New checker methods
getWantSort() / setWantSort() are needed.

Second problem: some checkers return screen columns mixed with byte
indices.  Solution: compute screen columns as needed.  Sadly, everything
about working with screen columns is fragile.
2014-04-16 22:16:40 +03:00
LCD 47
fb71514648 Move preprocess functions to their own file. 2014-02-26 10:31:38 +02:00
LCD 47
0bb8c7e5f6 jscs: add exit code 2 as valid (new in JSCS 1.3.0). 2014-02-26 09:58:33 +02:00
LCD 47
44d7ffd7e0 makeprgBuild() refactor: add *_before and *_after options. 2014-01-28 21:44:44 +02:00
LCD 47
710cf914cf Sorting and return code for javascript/jscs. 2014-01-14 07:28:28 +02:00
LCD 47
f23ddae1a7 New checker for JavaScript: jscs. 2014-01-13 12:58:44 +02:00