Commit Graph

1597 Commits

Author SHA1 Message Date
LCD 47
8c76c0473a Checker html/w3: cleanup. 2019-01-30 22:12:32 +02:00
Kevin Locke
fca2caf1e0 Checker html/w3: Add support for SVG and XHTML
Apply the same changes that were applied to html/validator in
vim-syntastic/syntastic#2241 to w3/html so that it can be used to
validate SVG and XHTML as well.

Add support for `g:syntastic_{type}_w3_doctype` to control the doctype
POST parameter sent to the validator.  This is necessary for SVG without
a DTD (which would otherwise be validated as generic XML) and useful for
all the types to control validation.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-01-30 12:42:58 -07:00
Kevin Locke
83a7a2a502 Checker html/w3: Add support for SVG and XHTML
Apply the same changes that were applied to html/validator in
vim-syntastic/syntastic#2241 to w3/html so that it can be used to
validate SVG and XHTML as well.

Add support for `g:syntastic_{type}_w3_doctype` to control the doctype
POST parameter sent to the validator.  This is necessary for SVG without
a DTD (which would otherwise be validated as generic XML) and useful for
all the types to control validation.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-01-30 12:39:40 -07:00
Jack Stillwell
1cbf03ac9b
Correct syntax error in oclint.vim
Path: syntastic/syntax_checkers/c/oclint.vim
Line: 28
Char: 106
Correction: ' ' -> ')'
2019-01-28 10:51:10 -05:00
JWM
18e27cd15f Checker php/phpstan: fix errorformat option (BC break in PHPStan 0.11) 2019-01-25 19:52:20 -05:00
LCD 47
f011aa88b2 Leftovers from previous commit. 2019-01-22 15:12:51 +02:00
LCD 47
f6ec8a411a Checker html/validator can be used for xhtml and svg. 2019-01-22 15:06:50 +02:00
Sebastian Meyer
b45a86dd15
Checker ansible/ansible_lint: fix errorformat
ansible-lint now has a slightly different outputformat for errors:

prepare-host.yaml:24: [E302] chmod used in place of argument mode to
file module

Append the errorformat so this gets recognized by syntastic.
2018-11-06 23:20:19 +01:00
LCD 47
c04603e1fd New checker for JavaScript and TypeScript: lynt. 2018-11-02 18:14:47 +02:00
Brandon Maier
3e22663871 checkpatch: Catch strict warnings
When the "--strict" or "--subjective" options are added to checkpatch's
arguments, it will return additional warnings of this format type:

> file.c:123: CHECK: Alignment should match open parenthesis

The extra warnings can be enabled with:

> let g:syntastic_c_checkpatch_args = "--strict"

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
2018-10-17 09:52:06 -05:00
LCD 47
df9f7057d1 Checker ada/gcc: fix checking of header files. 2018-10-03 14:53:01 +03:00
LCD 47
c779dbb607 Checker markdown/remark_lint: cleanup. 2018-08-27 08:04:25 +03:00
Pixelastic
8e7a30b028 Make it also match ranges 2018-08-22 17:39:23 +02:00
Pixelastic
adf736c851 Adding markdown-lint 2018-08-22 15:32:36 +02:00
LCD 47
9e1b2a8620 Checker golangci_lint: cleanup. 2018-06-15 10:50:36 +03:00
elvis
d15dbf690e
add syntax_checkers golangci_lint.vim 2018-06-15 15:11:38 +08:00
LCD 47
d17b98cff3 Checker cuda/nvcc: typo. 2018-05-03 07:42:41 +03:00
Fredrik Enestad
aae092c25d fix the go syntax cleanup of .test files 2018-04-25 13:39:10 +02:00
LCD 47
6d7c0b394e Security: clear defaults for config file names (cf. #2170). 2018-04-17 08:56:58 +03:00
arthur
511733327d fix the go syntax checkers with default go build mode 2018-04-08 19:10:56 +08:00
LCD 47
2c02edd174 Checker python/flake8: minor formatting. 2018-04-02 20:13:55 +03:00
LCD 47
b01520f6a3 Checker python/flake8: allow multi-letter error codes. 2018-04-02 16:44:57 +03:00
LCD 47
b7b473b268 Checker puppet/puppet: cleanup. 2018-02-20 14:25:19 +02:00
JAS01
96d4989ccd Fix puppet 5 parser
The new (not so new now) version of pupper (5) change a little the
parser output. Now it's something like

  Error: Could not parse for environment production: Syntax error at 'group' (file: /manifests/homedir.pp, line: 16, column: 5)

this bad fix allow syntastic to still working with puppet 5.
2018-02-19 17:42:55 +01:00
Marco Paganini
68ddbc67f1 Fix govet output parsing for go >= 1.10.
- Changed errorformat of go vet to include go build style messages in
  the parsing of go vet invocations.
- With go 1.10, govet apparently now runs a "go build" to collect
  information about the entire project. As a result, go vet will
  now output both go build and go vet errors. Previously, only
  go vet specific errors were reported.
2018-02-18 10:59:29 -08:00
LCD 47
608280c9ee Checker eruby/ruby: fix errorformat for Ruby 2.5. 2018-02-13 09:23:19 +02:00
LCD 47
1b7ef51ab5 Checker mypy: support for column numbers (@pbasista). 2018-01-04 12:40:07 +02:00
LCD 47
88dd65673a Checker yarac: minor cleanup. 2017-12-22 08:21:49 +02:00
Albert Song
e888225518 Add yarac as yara rule syntax checker.
YARA is a widely used pattern matching tool in malware research.
yarac is the official compiler.
2017-12-21 17:02:26 +08:00
Russ Garrett
4b93dffbd9 Use correct erlang include paths for rebar3 projects
Add a few more include paths for erlang projects built using rebar 3.
This allows syntastic to pick up dependencies and resolve include paths
in multiple-app rebar3 projects (assuming that the default `apps`
parent directory is used).

Existing erlang projects should be unaffected.

It's possible that this could be done slightly more elegantly by
shelling out to the new `rebar3 path` command, but this is quite slow in
our setup and may not be configured correctly in editing environments.
2017-12-14 12:36:29 +00:00
Simounet
3ca2727996 Stylelint syntax checker add for html files 2017-11-17 11:25:06 +01:00
Marcus Zanona
1a4a4b77e9 Increase stylelint support for .less files 2017-11-04 19:12:37 -02:00
Brett Sun
cac7fd3698 New checker for Solidity: solhint. 2017-10-27 09:03:28 +03:00
LCD 47
cd871da6b4 Checker chktex: avoid passing control characters under "cmd.exe". 2017-09-26 11:06:49 +03:00
Emily St
cf02b6e29d
Add warning format to errorformat for Scala compiler
Matches what was added to `fsc` in
a6bbfbdb4e. Since `fsc` simply wraps
`scalac`, they have identical outputs and syntaxes.
2017-09-18 23:41:11 +00:00
Emily St
dbdde67ebc
Allow overriding '-Ystop-after:parser' flag on compiler
This matches behavior with 'fsc' as committed in
c73673e0f3 last year.

Allows knowledgeable users to supply additional or alternative flags to
get diffferent results from the compiler.
2017-09-18 23:39:29 +00:00
Claudio Ramirez
026e09fbdf New checker "perl6" for Perl 6. 2017-09-18 20:25:13 +03:00
LCD 47
2ac540a103 Checker sql/tsqllint: cleanup. 2017-09-15 21:31:17 +03:00
LCD 47
a5691308a2 Merge remote-tracking branch 'origin/pr/2078' 2017-09-15 21:23:53 +03:00
jmbeach
d184d4b468 tsqllint remove extraneous items 2017-09-15 13:21:06 -05:00
LCD 47
8393a3c7a2 Cosmetic cleanup. 2017-09-15 21:04:16 +03:00
jmbeach
9839d9bb91 new T-SQL linter 2017-09-15 12:34:41 -05:00
LCD 47
4338848786 Checker sh/bashate: update errorformat. 2017-09-12 19:19:55 +03:00
__
006ba6d8c4 PHPStan - require version 0.8.5 or higher
Version number is then correctly displayed by executables from composer.

https://github.com/phpstan/phpstan/issues/160#issuecomment-322040877
2017-09-09 21:34:25 +02:00
LCD 47
f63b253f67 Checker cobol/cobc: update errorformat for cobc 2.0. 2017-09-03 19:14:33 +03:00
LCD 47
0858da63ec Vue.js checkers: cleanup. 2017-09-02 07:41:39 +03:00
Pixelastic
281a6df78e Adding pug_lint-vue as first Vue.JS checker 2017-09-01 23:52:37 +02:00
LCD 47
28376c0c9a Checker flake8: update comments. 2017-09-01 07:51:15 +03:00
LCD 47
f1a9b153bd Checker flake8: allow OpenStack conventions. 2017-08-31 21:19:06 +03:00
LCD 47
7dec59738b Checker chktex: fix column handling. 2017-08-31 12:47:11 +03:00