Commit Graph

93 Commits

Author SHA1 Message Date
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
LCD 47
0c557bfca6 jshint: require version 1.0.0 or later. 2014-03-25 19:59:50 +02:00
LCD 47
4ded4f4047 Expand a few config parameters. 2014-03-20 07:18:30 +02:00
LCD 47
c8f562f0f2 ESLint: add version check; expand config parameter. 2014-03-20 06:44:01 +02:00
Aaron Malone
9b1c2aa058 fix javascript/eslint format 2014-03-19 17:45:45 -05:00
LCD 47
da6520c69f \V<pattern> regexps can spell trouble if <pattern> contains backslashes. 2014-03-09 22:21:29 +02: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
4196dd30df jshint: check return code. 2014-02-26 02:20:06 +02:00
LCD 47
d12bc4f1d1 jsxhint: cleanup. 2014-02-22 22:39:13 +02:00
Thomas Boyt
de9a021270 Add jsxhint checker 2014-02-21 16:25:19 -05:00
LCD 47
c10aa8d6d5 More shell escape fixes. 2014-02-13 17:38:47 +02:00
LCD 47
8aa2a6f4c1 Cleanup. 2014-01-29 01:12:42 +02:00
LCD 47
44d7ffd7e0 makeprgBuild() refactor: add *_before and *_after options. 2014-01-28 21:44:44 +02:00