Commit Graph

1548 Commits

Author SHA1 Message Date
LCD 47
cc6b92afa6 DMD checker: use dub to find include directories. 2016-04-10 19:54:40 +03:00
LCD 47
77c0bfd54a Checker pylama: isort should produce style messages. 2016-03-24 21:56:50 +02:00
LCD 47
9f766ead6a Add textlint checkers for text, Markdown, and HTML. 2016-03-20 20:37:56 +02:00
LCD 47
c6d6c79c75 Checker pep257 has been renamed to pydocstyle.
References:
- https://github.com/PyCQA/pydocstyle/issues/172
- https://github.com/PyCQA/pydocstyle/pull/173
2016-02-28 20:17:39 +02:00
Benjamin Hipple
118d4be9b8 Support new HLint version 2016-02-28 01:27:07 -05:00
LCD 47
8f97e64c78 Cleanup: minor formatting. 2016-02-20 09:58:44 +02:00
LCD 47
ed42747560 Jade is now known as Pug. (@acidjazz) 2016-02-20 09:55:42 +02:00
LCD 47
c3882ef5b0 Checker rst2pseudoxml: allow messages without line numbers. (@maxwell-k) 2016-02-16 11:12:05 +02:00
LCD 47
0bdf149d5f Checker markdown/mdl: allow running markdownlint-cli instead of mdl. 2016-02-14 22:06:50 +02: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
cc440f1b40 Checker yamllint: cleanup. 2016-01-26 18:03:29 +02:00
LCD 47
8c4dadc7e2 New checker for YAML: yamllint (@adrienverge). 2016-01-26 17:57:14 +02:00
LCD 47
1f4846fecc Stylelint checker can also check SCSS files. 2016-01-10 18:55:59 +02:00
LCD 47
2db6f539d0 Checker scss_lint: use the JSON reporter of scss-lint. 2016-01-09 09:17:21 +02:00
LCD 47
c57ba0da9f Asciidoc checker: fix errorformat to allow use as asciidoctor. 2016-01-08 23:04:02 +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
6be9b4c71f Add mixedindentlint checker redirect for css 2015-12-09 17:54:23 -05:00
Payton Swick
a0382253cc Add mixedindentlint checker redirect for scss 2015-12-09 17:54:23 -05:00
Payton Swick
7d27a39827 Add mixedindentlint checker for JavaScript 2015-12-09 17:50:40 -05:00
LCD 47
60f9793938 R linters: minor cleanup. 2015-12-08 19:33:17 +02:00
LCD 47
06a8469556 Checker tsc: add guards option. 2015-12-08 12:38:56 +02:00
LCD 47
e60555de70 Registry: cleaner handling of checker redirections.
Redirected checkers no longer need to add
"syntax_checkers/<filetype>/*.vim" to &runtimepath.
Parameters "exec" and "enable" to CreateAndRegisterChecker() are now
inherited from the source checker, but can be overridden in the target
if needed.
2015-12-05 01:54:40 +02:00
LCD 47
4725c8616c Lintr checker: cleanup. 2015-12-04 22:04:52 +02:00
Jim Hester
bf60b72f3e Attempt support for Rmd files 2015-12-04 10:52:21 -05:00
Jim Hester
4078f0db8b Updates for newest syntastic best practices 2015-12-04 10:24:57 -05:00
Jim Hester
f92adf3c99 Enable R linting using lintr 2015-12-04 10:14:11 -05:00
LCD 47
2d0bb98cf2 Allow ESLint to check typescript files. 2015-12-03 18:39:16 +02:00
LCD 47
dc516ef19d Checker asm/gcc: allow generic overrides. 2015-11-29 19:36:39 +02:00
LCD 47
6d2e406f9f Slim_lint checker: cleanup. 2015-11-29 19:14:05 +02:00
V.Kolesnikov
46c692b513 Add slim-lint checker
This adds a syntaxchecker for *.slim files. This uses slim-lint
(https://github.com/sds/slim-lint) and expect the slim-lint binary to be
available (usually through a `gem install slim_lint`)
2015-11-28 23:44:28 +03:00
LCD 47
200cd1d071 Merge remote-tracking branch 'origin/pr/1609' 2015-11-28 13:48:46 +02:00
wsdjeg
3f9fde2c1d fix miss test classpath 2015-11-28 18:49:16 +08:00
LCD 47
73dd785486 Dockerfile_lint checker: cleanup. 2015-11-27 20:25:28 +02:00
Pixelastic
13456d5a71 Add dockerfile-lint checker
This adds the first syntaxchecker for `Dockerfile`. This uses
[dockerfile-lint](https://github.com/projectatomic/dockerfile_lint)
and expect the `dockerfile-lint` binary to be available (usually
through the `npm` install).

By default, it will simply check for basic syntax correctness of the
`Dockerfile`. One can pass a custom `yml` rule file through the `syntastic_dockerfile_dockerfile_lint_post_args`, for example:

```vim
let b:syntastic_dockerfile_dockerfile_lint_post_args = '-r /path/to/rule/file.yml'
```

I've used `preprocess` to convert the json output.
2015-11-27 17:19:22 +01:00
LCD 47
10788ac8d7 Javac checker: cleanup. 2015-11-26 11:37:44 +02:00
wsdjeg
094c3631c3 fix maven project which has set srcdir or testsrc dir 2015-11-26 01:15:20 +08:00
wsdjeg
3593d1697f fix maven project which has set srcdir or testsrc dir 2015-11-26 01:11:06 +08:00
LCD 47
cd40fe9751 Ansible-lint checker: make "-p" option mandatory. 2015-11-16 16:49:58 +02:00
LCD 47
13c8e75302 Ansible-lint checker: add version check. 2015-11-16 13:19:24 +02:00
LCD 47
7d627000ce Checkers clang_check and clang_tidy: workaround for a regression in Clang.
Set TERM to dumb to avoid the checkers producing colour codes in output.
2015-11-15 22:26:44 +02:00
LCD 47
721a42d5ba Ansible-lint checker: cleanup. 2015-11-15 19:47:34 +02:00
erikzaadi
f8e638d28d Add ansible-lint syntax checkers 2015-11-15 15:29:04 +02:00
LCD 47
ae7e00aad6 Revert "Javac checker: minor optimisation."
This reverts commit cfdcdfaa9f.
2015-11-05 20:21:42 +02:00
LCD 47
cfdcdfaa9f Javac checker: minor optimisation.
Allow g:syntastic_java_javac_delete_output to take effect regardless of
g:syntastic_java_javac_autoload_maven_classpat.
2015-11-05 19:47:40 +02:00
LCD 47
03c058ea52 Typo. 2015-11-03 21:56:38 +02:00
LCD 47
dec5bc73bd New checker vcom for VHDL (@jevogel). 2015-11-03 19:00:25 +02:00
LCD 47
9f599a1610 Standard checker: allow generic standard frontends. 2015-11-03 16:40:58 +02:00
LCD 47
6461248230 Back off a4c3fcc for slimrb. 2015-11-02 21:09:18 +02:00
LCD 47
c596b6474e Stylelint checker: cleanup. 2015-10-29 18:04:46 +02:00
Pixelastic
1d5a057a04 Add CSS Stylelint checker 2015-10-29 12:14:24 +01:00
LCD 47
a4c3fcc4ad Partial workaround for a misfeature of errorformat. 2015-10-28 17:56:50 +02:00
LCD 47
1926693d1b Coqtop checker: fix potentially harmful errorformat. 2015-10-27 15:39:04 +02:00
LCD 47
11ca31582c Iverilog checker: formatting. 2015-10-26 21:47:38 +02:00
LCD 47
d51d5ea511 Merge remote-tracking branch 'origin/pr/1579' 2015-10-26 21:45:04 +02:00
Psidium
448b6cc61b add MIT license to iverilog.vim 2015-10-26 12:50:40 -02:00
LCD 47
e484ac9416 BaseX: allow filenames to contain special characters.
Bug fix: proper escaping of special characters in filenames.

Workaround for a bug in Vim: errorformat's "%f" doesn't properly detect
filenames if they are not delimited by characters that are illegal in
filenames, such as ":".  Solution: switch to a preprocess function.

References: http://docs.basex.org/wiki/Commands#Valid_Names
2015-10-26 10:07:29 +02:00
LCD 47
2553f63893 BaseX checker: minor cleanup. 2015-10-26 08:34:29 +02:00
LCD 47
50653f0bc6 BaseX checker: cleanup. 2015-10-26 08:16:58 +02:00
Psidium
89ad03b2e2 conform iverilog to makeprgBuild()
previously getLocList was using a undocumented function
this commit fix this issue
2015-10-25 23:57:03 -02:00
Psidium
5bf9fa7494 Add support for Icarus Verilog compiler 2015-10-24 19:28:55 -02:00
James Wright
3c524a661c Added support for XQuery using BaseX.exe 2015-10-21 18:00:29 -04:00
LCD 47
544acba17d ghc-mod versions 5.4.0 and later are no longer supported. 2015-10-17 20:48:39 +03:00
Kyle Fuller
1604467999 [drafter] Update known status code 2015-10-13 20:38:08 -07:00
Kyle Fuller
ba62f2e687 API Blueprint should use drafter 2015-10-02 12:51:46 -07:00
LCD 47
50d0315835 Vimlint checker: add logging. 2015-09-24 20:45:13 +03:00
LCD 47
d3130d6b56 Minor cleanup. 2015-09-24 15:24:41 +03: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
1885e867bf Checkstyle checker: make checkstyle_classpath an actual classpath. 2015-09-20 11:35:04 +03:00
LCD 47
debcecd5c8 Checker gometalinter: minor cleanup. 2015-09-17 23:13:24 +03:00
LCD 47
f2084e9e49 Checker gometalinter: fix arguments. 2015-09-17 19:58:19 +03:00
LCD 47
9371aafa86 Minor cleanup: regex optimisation. 2015-09-17 08:38:50 +03:00
LCD 47
8bb535bd24 Checker gometalinter: cleanup. 2015-09-17 08:27:24 +03:00
Joshua Rubin
3db525cac1 include test files by default. add error type. 2015-09-16 15:04:41 -06:00
Joshua Rubin
aca4d8ea40 add support for setting arguments on gometalinter 2015-09-16 14:26:34 -06:00
Joshua Rubin
f1f7deed33 use package instead of file 2015-09-16 14:12:06 -06:00
Joshua Rubin
61b7dbf9c2 add gometalinter syntax checker 2015-09-16 13:50:37 -06:00
Matvey Aksenov
8164240f6f Hlint: handle hint file parsing errors.
When hints (including those in ANN pragmas in Haskell source) fail to
parse, Hlint uses a different error format.
2015-09-15 22:49:54 +03:00
LCD 47
be111259ec js-yaml checker: update errorformat. 2015-09-09 22:17:47 +03:00
LCD 47
1be907716e Javac checker: make checker-specific commands available at startup. 2015-09-06 19:39:17 +03:00
LCD 47
3fb986584a Go checker: option "-buildmode=archive" is new in go 1.5. 2015-09-06 18:38:21 +03:00
LCD 47
703287c761 Checker jade_lint: cleanup. 2015-09-03 07:18:26 +03:00
Ben Parnell
b5883c80f0 Add jade-lint 2015-09-02 23:12:09 +01:00
LCD 47
0fe6035959 Bug fix: minor shell escape issue. 2015-09-01 07:20:23 +03:00
LCD 47
d077102eb8 Gotype checker: parse test files (@jonasi). 2015-09-01 07:14:40 +03:00
LCD 47
3c2e7e4ce3 Go checker: attempt to speed up builds (@gsalgado). 2015-08-27 14:49:19 +03:00
Guilherme Salgado
13727dd464 Set the GOGC env var to off to speed up go builds 2015-08-27 10:17:06 +01:00
LCD 47
1ae5589f95 Javac checker: attempt at fixing errorformat. 2015-08-06 18:23:05 +03:00
LCD 47
3fb8281a6d Bug fix: missing a couple of executable() checks. 2015-08-06 08:27:42 +03:00
LCD 47
748725c775 Tslint checker: version 2.4.0 and later no longer support "-f". 2015-08-04 23:43:28 +03:00
LCD 47
bfc55793ef ESLint checker: line numbers are now 1-based. 2015-07-30 08:22:30 +03:00
LCD 47
9d69f4c162 Qmllint checker: cleanup. 2015-07-28 12:37:07 +03:00
Peter Wu
6ff7c89348 New checker for qml: qmllint 2015-07-28 10:37:55 +02:00
LCD 47
edde4c5ed5 New checker for stylus: stylint. 2015-07-25 16:54:14 +03:00
LCD 47
a6012f2b4c Move floating point functions to autoload. 2015-07-21 10:01:28 +03:00
LCD 47
6929f24e45 Flog checker: cleanup. 2015-07-19 18:33:36 +03:00
Pixelastic
5db87b9ec8 Add ruby flog checker 2015-07-17 18:09:05 +02:00
LCD 47
76ec53f186 Sqlint checker now returns 1 when it detects errors. 2015-07-17 00:37:16 +03:00
LCD 47
d353962861 Sqlint checker: add highlighting function. 2015-07-16 09:53:06 +03:00
LCD 47
1e475a7df5 Sqlint checker: cleanup. 2015-07-16 09:05:19 +03:00
Steve Purcell
125ce327ef Add checker for sqlint (https://github.com/purcell/sqlint) 2015-07-16 14:12:06 +12: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
a596ef38bd Gfortran checker: fix errorformat for gfortran 5. 2015-07-05 07:11:01 +03:00
LCD 47
4708cdd122 Add a mechanism for handling checkers disabled for security. 2015-07-01 10:56:09 +03:00
LCD 47
d75f3e5e8e Buffer-local security guards for perl/perl, elixirelixir, and r/svtools. 2015-07-01 01:22:41 +03:00
Radek Szymczyszyn
0154e9d096 Translate relative paths from non-root rebar.config files 2015-06-29 15:36:43 +02:00
LCD 47
31cba018b3 Safety net: avoid suffixesadd interfering with findfile(). 2015-06-26 07:28:50 +03:00
LCD 47
176e32ca4d Cleanup. 2015-06-26 07:01:05 +03:00
LCD 47
c9fc0d41e7 Checker javac: _really_ fix shell escaping in custom_classpath_command. 2015-06-25 23:21:47 +03:00
LCD 47
dc15fa08c5 Checker javac: fix shell escaping in custom_classpath_command. 2015-06-25 19:09:46 +03:00
LCD 47
c39563d95b Checker javac: cleanup. 2015-06-25 16:27:58 +03:00
LCD 47
ec9da67323 Merge remote-tracking branch 'origin/pr/1456' 2015-06-25 16:22:01 +03:00
LCD 47
dbb28cd847 Ada checker: disable generation of intermediate files. 2015-06-25 10:59:00 +03:00
Ryan Turner
8269ba278d Basic path substitution for g:syntastic_java_javac_custom_classpath_command
Allows '%FILE_PATH%', '%FILE_NAME%' and '%FILE_DIR%' to be used in the
Java custom classpath command to refer to the full file path, the file
basename, and the file directory, respectively.
2015-06-24 18:12:30 -07:00
LCD 47
56e19eb81a Sphinx checker: update maintainer's address. 2015-06-24 21:25:13 +03:00
LCD 47
131ec84e61 New checker for reStructuredText: sphinx. 2015-06-24 11:00:58 +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
98e79d85f0 Nix checker: cleanup. 2015-06-20 12:32:55 +03:00
Tim Cuthbertson
c840655d13 Add support for .nix files 2015-06-20 19:06:53 +10:00
LCD 47
b609b3bdd3 Checker ghc-mod: attempt to fix filename encodings.
ghc-mod will always use UTF-8 encoding on output, regardless of the
current encoding.  This is a problem for syntastic because it mangles
the filenames.  The commit below is a (perhaps misguided) attempt to
fix that, by calling iconv() to re-encode output from ghc-mod to Vim's
encoding.
2015-06-18 13:27:41 +03:00
LCD 47
b8682c3029 Merge remote-tracking branch 'origin/pr/1447' 2015-06-12 13:29:56 +03:00
Rob Ashton
3dda9b833c Apps should be used for include_lib too 2015-06-12 11:15:14 +01:00
LCD 47
0470fff0c5 Checker python/pylama: add option "--force". 2015-06-03 08:13:50 +03:00
LCD 47
e15ebd3367 Go checker: no longer attempt to redirect output of "go build".
Running "go build -o /dev/null" in a main package that lives in GOPATH
produces an error message:

build output "/dev/null" already exists and is not an object file

This issue won't be addressed on the Go side:

http://code.google.com/p/go/issues/detail?id=4851
https://github.com/golang/go/issues/4851

Consequently, syntastic leaves this to the user to resolve.  Set
g:syntastic_go_go_build_args to something including "-o /some/dir"
to redirect the output of "go build".
2015-06-03 07:42:19 +03:00
Lucas Verney
a7fde99ea9 Add support for Vera++ C++ checker
This commit adds support for Vera++ C++ style checker, using its ability to export to cppstyle format, and then based on the checkstyle checker.
2015-05-26 15:44:02 +02:00
LCD 47
981196fdc3 Flow checker: use the "status" command. 2015-05-19 23:01:39 +03:00
LCD 47
5dba05af4f Bashate: make errorformat more permissive. 2015-05-09 12:25:58 +03:00
LCD 47
48b75c455a Tslint is a style checker. 2015-05-09 07:27:20 +03:00
LCD 47
a8771fe6b7 Puppet-lint checker: --log-format now expects %{line}. 2015-05-06 16:14:58 +03:00
LCD 47
9af644dace Remove comments from the tidy checker.
This is supposed to encourage people to go to the wiki when looking for
user-level documentation.  It also removes outdated links.
2015-04-24 23:40:17 +03:00
LCD 47
615c890e71 Gfortran checker: bug fix: column handling and sorting for ifort. 2015-04-16 23:06:15 +03:00
LCD 47
b152ac3db3 The gfortran checker now supports Intel Fortran.
It's now possible to set g:syntastic_fortran_compiler to 'ifort' to use
Intel Fortran instead of GNU Fortran.
2015-04-15 14:29:40 +03:00
LCD 47
fe436371b4 Checker tsc: version 1.5 has option "--noEmit". 2015-04-11 14:31:52 +03:00
Scott Stevenson
710a854f6a Remove shellcheck checker for zsh
zsh support has been removed from ShellCheck as of
[v0.3.6](https://github.com/koalaman/shellcheck/releases/tag/v0.3.6).
2015-04-02 22:20:10 +01:00
LCD 47
ebfba7ec3d Puppet-lint no longer requires puppet. 2015-04-01 08:55:08 +03:00
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02:00
LCD 47
ebadf9aff5 Windows brain damage: executable('foo') doesn't mean 'foo' is executable. 2015-03-19 18:09:35 +02:00
LCD 47
b905f6d08a Mercury checker: cleanup. 2015-03-19 08:33:54 +02:00
Joshua Rahm
4e0ac804cf added mercury syntax checker 2015-03-18 13:51:05 -06:00
Rob Ashton
0cde758958 replaced erlang checker with the one from vimerl that works without rebar 2015-03-18 14:13:44 +00:00
LCD 47
84add5b7f9 Checkers using curl(1): allow redirections.
Unrelated: the main URL for validator's API is now HTTPS.
2015-03-15 19:43:50 +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
869c5a726d Camlp4o checker: better error highlighting. 2015-03-12 10:40:00 +02:00
LCD 47
48812d8333 Cleanup: exit codes are meaningless for checkers without exec. 2015-03-11 10:04:13 +02:00