Commit Graph

106 Commits

Author SHA1 Message Date
LCD 47
c04603e1fd New checker for JavaScript and TypeScript: lynt. 2018-11-02 18:14:47 +02:00
LCD 47
f660d1074f Cleanup: buffer handling. 2017-02-15 13:50:19 +02:00
LCD 47
bd03a27ca1 Checker flow: there is an option "--quiet" from flow 0.34.0. 2017-01-30 20:21:32 +02:00
LCD 47
68f473ecc8 Checker flow: option "--version" is deprecated. 2016-08-27 09:18:36 +03:00
LCD 47
5462fdd677 New checker for JavaScript: tern-lint. 2016-06-21 07:47:58 +03:00
LCD 47
eb2b9cfcd9 Cleanup. 2016-04-25 09:15:49 +03:00
LCD 47
caa96a08d7 Checker gjslint can check JavaScript in HTML files. 2016-04-14 07:18:52 +03:00
LCD 47
40b1295937 Checker gjslint: allow users to override flag "--nodebug_indentation". 2016-04-13 20:51:39 +03:00
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
e39f636e28 Flow checker: go back to "flow check".
"flow status" is a lot faster but in recent versions of flow it prints
a progress spinner to stderr even when stderr is not pointing to a
terminal.
2016-01-08 20:41:39 +02:00
LCD 47
751afea9e0 JSCS checker: use JSON reporter. 2015-12-28 11:30:52 +02:00
LCD 47
48736aa376 Mixedindentlint is a style checker. 2015-12-10 07:16:06 +02:00
LCD 47
ac4541e0e8 Minor cleanup. 2015-12-10 07:12:49 +02:00
Payton Swick
ce8dd364ff Add returns list to SyntasticMake
Also remove unnecessary `isAvailable` function call (the default will work
here).
2015-12-09 19:00:19 -05:00
Payton Swick
7d27a39827 Add mixedindentlint checker for JavaScript 2015-12-09 17:50:40 -05:00
LCD 47
03c058ea52 Typo. 2015-11-03 21:56:38 +02:00
LCD 47
9f599a1610 Standard checker: allow generic standard frontends. 2015-11-03 16:40:58 +02:00
LCD 47
66f4e96937 Eslint checker: log if called as a generic frontend. 2015-09-22 20:51:05 +03:00
LCD 47
c34ea8955f Eslint checker: allow generic eslint frontends. 2015-09-22 20:32:14 +03:00
LCD 47
3fb8281a6d Bug fix: missing a couple of executable() checks. 2015-08-06 08:27:42 +03:00
LCD 47
bfc55793ef ESLint checker: line numbers are now 1-based. 2015-07-30 08:22:30 +03:00
LCD 47
74fd7e6b92 Show chacker output when whining that we can't parse version string. 2015-07-10 20:14:23 +03:00
LCD 47
31cba018b3 Safety net: avoid suffixesadd interfering with findfile(). 2015-06-26 07:28:50 +03:00
LCD 47
e46c64701c Bug fix: more findfile() fun. 2015-06-23 13:55:22 +03:00
LCD 47
a728268d73 Bug fix: finding files in parent directories.
Checkers pc_lint, javac, flow, C compilers: findfile() should start in
the current file's base directory rather than the current directory.

Elixir checker: use the more efficient findfile() instead of
syntastic#util#findInParent().
2015-06-22 23:10:20 +03:00
LCD 47
981196fdc3 Flow checker: use the "status" command. 2015-05-19 23:01:39 +03:00
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02:00
LCD 47
7b8526b966 Flow checker: bail out if there is no .flowconfig. 2015-03-15 07:30:50 +02:00
LCD 47
47eabae37d New global option: "shell".
Undocumented option "bash_hack" is gone.
New function syntastic#util#system(), that sets up the environment and
is now used consistently everywhere.
Unrelated fix for the elixir checker (syntax).
2015-03-12 19:20:06 +02:00
LCD 47
413cdb354e Flow checker: make exe configurable. 2015-03-02 13:14:40 +02:00
LCD 47
c1a2098954 New checker for JavaScript: standard. 2015-02-11 23:53:46 +02:00
LCD 47
1ba96436c1 Cleanup: handling versions. Minor optimisation. 2015-01-23 11:39:42 +02:00
LCD 47
1d2f8d514a Formatting: folding. 2015-01-04 12:46:54 +02:00
LCD 47
d1b401609b Bug fix: glob(), globpath(), and expand() should ignore wildignore. 2015-01-04 09:01:55 +02:00
LCD 47
d422c6d825 Flow checker: cleanup. 2014-12-05 13:38:53 +02:00
Michael Robinson
9dc6b6108c Updated formatting as per guidelines 2014-12-05 15:54:16 +13:00
Michael Robinson
55b535618f Added flow checker for javascript 2014-12-05 15:46:21 +13:00
LCD 47
650c7368e9 Discourage people from looking at the sources for user docs. 2014-11-21 10:01:24 +02:00
LCD 47
57f1a0eb20 New user variables: syntastic_<filetype>_<checker>_sort. 2014-10-24 15:55:47 +03:00
LCD 47
f180e28a38 Closurecompiler: allow running througha shell script (@bjpbakker). 2014-10-17 08:56:10 +03:00
LCD 47
ce89396808 Checker-specific logging.
New debug level 32, for logging tracing checkers.
New method checker.log().
Cleanup.
2014-10-06 22:19:24 +03:00
LCD 47
4aadf589be New postprocess function: guards.
The new function ensures line numbers in loclists are not beyond end of
buffer.  The implementation is very inefficient, because it loads all
buffers in memory.

`eslint` and `lessc` checkers need this function.
2014-09-04 12:56:09 +03:00
LCD 47
6c88bae55d JSHint checker: sort results. 2014-07-15 18:53:22 +03:00
LCD 47
1ee4bcccc7 Error highlighting cleanup. 2014-06-30 14:45:30 +03:00
LCD 47
ab79acbccd Cleanup. Deprecate a number of checker variables.
New / refactored deprecation logging functions:
syntastic#log#oneTimeWarn() and syntastic#log#deprecationWarn().
2014-06-24 19:02:42 +03:00
LCD 47
45a36bf2fc eslint: honour the exec parameter. 2014-05-10 22:29:15 +03:00
Paul Harper
9facbb77cc fixup 2014-04-25 14:52:54 -07:00
Paul Harper
748046277f Added an errorformat for eslint's warning messages 2014-04-25 14:50:56 -07: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
Riobard
d2c0d4d83e jsxhint can be used independently.
jsxhint uses its own jshint dep and does not require jshint to be
system-wide available. Removed the check for `jshint`.
2014-04-05 03:38:08 -02:30