@linthtml/linthtml
Advanced tools
Changelog
v0.2.5
raw-ignore-text
behaviour to stop reporting unexisting lint errorsChangelog
v0.2.4
indent-width
stop reporting error for this html<p>
foo
<span>bar</span>
</p>
Changelog
v0.2.3
Changelog
v0.2.2
indent-width
stop reporting error for this html<p>foo<span>bar</span></p>
attr-no-unsafe-char
Allow new line, spaces, tabs... in attributesclose #55
Changelog
v0.2.1
await
preventing the display of lint errorsChangelog
v0.2.0
[REMOVED] Support for node@6
[REMOVED] Removed rule spec-char-escape
. You cannot escape characters with \
in HTML text.
[REMOVED] Stop reporting issues for invalid rule config
[REMOVED] Stop reporting issues for nonexisting rule
[IMPROVEMENT] Throw an error for nonexisting rule and stop the cli.
[IMPROVEMENT] Throw an error for invalid rules config and stop the cli.
[IMPROVEMENT] Now indent-style
and indent-width
catch more errors than before. Checkout rules doc for more information about valid/invalid patterns.
[IMPROVEMENT] Rule tag-req-attr
, report an error per missing attributs and list missing attributes in error messages.
[IMPROVEMENT] Rule title-no-dup
, report an error per duplicated <title>
tag.
[REFACTOR] Move rules's tests inside rule folder
[REFACTOR] Remove strict
option for rule label-req-for
due to the lack of documentations and tests.
[FIX] Make +0
option for rule attr-new-line
behave has explained in the rule's description
[FIX] Correct input-req-label
rule and now report errors even when for
value match inputs's name
attribute. (for
should be paired with id
as specified in HTML specs)