Commit Graph

84 Commits

Author SHA1 Message Date
LCD 47
7274363a72 Typo. 2019-01-30 22:15:43 +02:00
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
LCD 47
f6ec8a411a Checker html/validator can be used for xhtml and svg. 2019-01-22 15:06:50 +02:00
Simounet
3ca2727996 Stylelint syntax checker add for html files 2017-11-17 11:25:06 +01:00
LCD 47
8393a3c7a2 Cosmetic cleanup. 2017-09-15 21:04:16 +03:00
LCD 47
f660d1074f Cleanup: buffer handling. 2017-02-15 13:50:19 +02:00
LCD 47
5044cc699b New checker for text files: proselint. 2016-10-11 10:57:35 +03:00
LCD 47
1379530f03 New checker for HTML: htmlhint. 2016-10-08 09:05:59 +03:00
LCD 47
30fa9bec2d ESLint can check JavaScript in HTML files. 2016-05-20 20:42:22 +03:00
LCD 47
caa96a08d7 Checker gjslint can check JavaScript in HTML files. 2016-04-14 07:18:52 +03:00
LCD 47
9f766ead6a Add textlint checkers for text, Markdown, and HTML. 2016-03-20 20:37:56 +02: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
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02: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
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
30b4ce3411 Validator and w3 checkers: tell curl to ignore curlrc. 2014-12-03 17:32:22 +02: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
4e9e08b509 Change case for constants' names.
Avoid poluting saved sessions when &sessionoptions contains "globals".
2014-10-17 10:28:05 +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
6c88bae55d JSHint checker: sort results. 2014-07-15 18:53:22 +03:00
LCD 47
4c5ff42723 New option for SyntasticMake(): env.
Setting environment variables by prefixing commands with 'VARIABLE=value'
doesn't work under csh.  Solution: let Vim set the environment variables.
2014-07-07 19:04:22 +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
3c07df5dfc Cleanup: lock some variables. 2014-04-23 14:45:21 +03:00
LCD 47
99cbe5d011 HTML Tidy: add a note about HTML Tidy for HTML5.
Some people seem to find it easier to look at the sources than read the wiki,
so mention HTML Tidy for HTML5 here, too. :)
2014-04-17 23:08:22 +03:00
LCD 47
4c18240e8d Formatting. 2014-04-15 09:09:37 +03:00
LCD 47
4ded4f4047 Expand a few config parameters. 2014-03-20 07:18:30 +02:00
LCD 47
fb71514648 Move preprocess functions to their own file. 2014-02-26 10:31:38 +02:00
LCD 47
4196dd30df jshint: check return code. 2014-02-26 02:20:06 +02:00
LCD 47
daf74923b7 Escape Festschrift, vol. 2: add function getExecEscaped(). 2014-02-07 11:19:30 +02:00
LCD 47
f5a45095e2 Escape Festschrift: getExec() needs to be escaped before being used. 2014-02-06 16:50:27 +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
LCD 47
2d9ff2457f Minor cleanup: remove dead code; formatting. 2014-01-03 18:58:30 +02:00
LCD 47
38275ced14 JSHint can be used to check JavaScript in HTML and xHTML files. 2014-01-03 17:06:27 +02:00
LCD 47
b9accaa810 Minor cleanup: &cpo guards and formatting. 2014-01-03 11:29:08 +02:00
LCD 47
85cb6bc877 HTML validator and w3: allow user to set the path to curl. 2014-01-03 10:43:01 +02:00
LCD 47
71ad20e184 More typos. 2013-11-08 10:45:15 +02:00
LCD 47
5f0be83a3d Merge branch 'master' into registry_cleanup 2013-11-08 10:34:15 +02:00
LCD 047
d952d14747 Merge pull request #856 from kaleb/patch-5
html/tidy: Remove hgroup, it is non-conforming
2013-11-07 23:18:11 -08:00
LCD 047
154d0c580a Merge pull request #855 from kaleb/patch-4
html/tidy: Add WAI-ARIA attributes
2013-11-07 23:16:36 -08:00
Kaleb Hornsby
1072ab0d14 Remove hgroup, it is non-conforming
http://www.w3.org/html/wg/drafts/html/master/obsolete.html#hgroup
2013-11-07 16:39:10 -05:00
Kaleb Hornsby
c907d1bb20 Added WAI-ARIA attributes
Added all WAI-ARIA aria-* and role attributes.

http://www.w3.org/TR/wai-aria/states_and_properties#state_prop_def

These are used to create accessible web applications.
2013-11-07 16:37:34 -05:00
Kaleb Hornsby
3c33284fa9 rm'd unkown attribute rule
more info: a956a81432 (commitcomment-4537304)
2013-11-07 16:20:44 -05:00
LCD 47
531859e89e Typo in html/tidy. 2013-11-07 21:14:15 +02:00
LCD 47
e07cd55385 Merge branch 'master' into registry_cleanup 2013-11-07 17:50:45 +02:00
LCD 047
b7ba0c0899 Merge pull request #851 from kaleb/patch-1
html/tidy: placeholder attribute should only be on input elements
2013-11-07 07:23:27 -08:00