html-validate
Advanced tools
Changelog
0.14.1 (2018-11-04)
acorn
, the package now properly resolves acorn 5 when
dependant pulls acorn 6.Changelog
0.14.0 (2018-11-03)
attribute-allowed-values
validates allowed values for attributes,
such as type
for <input>
.Changelog
0.13.0 (2018-10-21)
deprecated
supports adding a message for custom elements.element-permitted-order
now reports the error where the malplaced element is
instead of the parent element (which holds the restriction). Fixes #10.Changelog
0.12.0 (2018-10-17)
Changelog
0.11.1 (2018-10-07)
no-implicit-close
now provides more context when closed by a sibling.close-order
no longer reports error for implicitly closed elements.Changelog
0.11.0 (2018-09-23)
disable
has been renamed to
off
. The old name will continue to work but will be removed in the future.Attribute
used by DOMNode
. Attributes now holds the location
they are created from making DOM attribute rules more precise.heading-level
for validating sequential heading levels.element-permitted-occurrences
no longer triggers for the first occurrence,
only subsequent usages.Table.getMetaFor(..)
is not case-insensitive.Changelog
0.10.0 (2018-08-11)
Engine
class for easier programmatical usage.Changelog
0.9.2 (2018-07-12)
no-inline-style
to htmlvalidate:recommended
.htmlvalidate:document
for predefined set of document-related rules,
e.g. recommended for documents but not component templates.missing-doctype
rule to require doctype.doctype
property to DOMTree
.doctype
event, emitted when a doctype is encountered.element-case
rule for validating case of element names.attr-case
rule for validating case of attributes.