html-validate
Advanced tools
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.Changelog
0.9.0 (2018-06-17)
require
changed from require('html-validate')
to
require('html-validate').HtmlValidate
to support exposing other classes.TemplateExtractor
helper class for extracting templates from javascript
sources.valid
now only checks for errors, the result will still be valid if
only warnings are present.Changelog
0.8.3 (2018-06-12)
getFormatter
as a reusable function to load formatters from string
(like CLI tool): name[=DST][,name=DST...]
Changelog
0.8.0 (2018-05-27)
require('html-validate')
now returns class without using
require(html-validate/build/htmlvalidate').default
.transform
in configuration to extract source html from other files.depth
and unique
read-only properties to DOMNode
corresponding to
the nodes depth in the DOM tree and a sequential id (unique for the session).no-conditional-comments
to disallow usage of conditional comments.Changelog
0.7.0 (2017-11-04)
no-implicit-close
to disallow usage of optional end tags.elements
configuration property.Changelog
0.6.0 (2017-10-29)
no-deprecated-attr
for testing if any deprecated attributes is
used.<!doctype html>
crashing the lexer.