@linthtml/linthtml
Advanced tools
Changelog
v0.6.3
indent-width
no longer report an error for such HTML<script src="http://link.com"></script>
Changelog
v0.7.0-beta.2
--print-config
option with meowChangelog
v0.6.2
--print-config
option with meowChangelog
v0.7.0-beta.1
Move nested rules into their own folder. The code for rules like indent-width
, indent-style
... are no longer mixed in the files.
Changelog
v0.6.1
input-req-label
no longer report an error for input with type "hidden".input-req-label
no longer report an error for input with type "button" when the attribut value has a non empty value.Changelog
v0.6.0
It's now possible to use and extends shareable configurations in LintHTML.
Shareable configuration can be extended in a .linthtmlrc*
file using the keyword extends
.
{
"extends": "my-linthtml-config",
"rules": {
// ...
}
}
⚠ Shareable configuration can only be used with the new config format.
To learn more about shareable configuration and how to use them you can read the documentation.
It's now possible to enable/disable rules by using linthml-disable
and linthtml-enable
in a document.
There's a complete documentation about this new inline instruction in the README.
Some rules error messages have been improved to give more explanations about the problem.
Changelog
v0.5.2
attr-new-line
, don't report errors when there's one attribute per line and rule config is 0
or +0
(match the rule documentation)Changelog
v0.6.0-beta.3
It's now possible to enable/disable rules by using linthml-disable
and linthtml-enable
in a document.
There's a complete documentation about this new inline instruction in the README.
Some rules error messages have been improved to give more explanations about the problem.
class-style
, id-style
, id-class-no-ad
, id-no-dup
, and id-class-style
no longer crash when there's no value for id
and class
attributes.Changelog
v0.6.0-beta.1
It's now possible to use and extends shareable configurations in LintHTML.
Shareable configuration can be extended in a .linthtmlrc*
file using the keyword extends
.
{
"extends": "my-linthtml-config",
"rules": {
// ...
}
}
⚠ Shareable configuration can only be used with the new config format.
To learn more about shareable configuration and how to use them you can read the documentation.