Changelog
1.4.0 (2025-06-03)
Section titled “1.4.0 (2025-06-03)”- Feat New rule:
button-type-require
#1615 - Feat New rule:
meta-description-require
#1613 - Feat New rule:
meta-viewport-require
#1618 - Fix Improved HTML Report formatting #1617
1.3.0 (2025-05-31)
Section titled “1.3.0 (2025-05-31)”- Feat New rule:
main-require
#1608 - Feat New rule:
h1-require
#1605 - Feat Sort
data-*
attributes at end #1591 - Feat Add
rel
to list of sorted attributes #1579 - Fix
npx htmlhint -l
doesn’t list rules alphabetically #1598 - Fix
doctype-first
does not account for comments being permitted beforehand #1610
1.2.0 (2025-05-26)
Section titled “1.2.0 (2025-05-26)”- Feat Sort unknown attributes alphabetically #668
- Feat display warning log message when it can not parse config #893
- Fix Point
tag-pair
error message to correct line and column #1503 - Fix Remove ampersand from
spec-char-escape
#1504 - Fix Typo in
idclassaddisabled
default export name #728 - Docs Switch website to use Astro Starlight
1.1.4 (2022-04-11)
Section titled “1.1.4 (2022-04-11)”- Fix duplicate text #981
1.1.3 (2022-03-28)
Section titled “1.1.3 (2022-03-28)”- Feat Replace parse-glob #927
1.1.2 (2022-01-27)
Section titled “1.1.2 (2022-01-27)”- Fix Ignore hidden input without label, closes #866
1.1.1 (2022-01-23)
Section titled “1.1.1 (2022-01-23)”- Fix Correct links to rule docs, closes #867
1.1.0 (2021-12-31)
Section titled “1.1.0 (2021-12-31)”- Fix attr-lowercase: ignore camelCase SVG attributes
1.0.0 (2021-11-26)
Section titled “1.0.0 (2021-11-26)”- Feat Set minimum support to es6
- Feat Upgrade to TypeScript 4
- Feat IE11 and older browsers are no longer supported
0.16.3 (2021-11-24)
Section titled “0.16.3 (2021-11-24)”0.16.2 (2021-11-23)
Section titled “0.16.2 (2021-11-23)”- cleanup non-functional typos #727
0.16.1 (2021-11-12)
Section titled “0.16.1 (2021-11-12)”- tagname-specialchars description #714
0.16.0 (2021-10-29)
Section titled “0.16.0 (2021-10-29)”0.15.2 (2021-09-16)
Section titled “0.15.2 (2021-09-16)”- htmlhint.ts: replace deprecated request module with what-wg fetch #670
0.15.1 (2021-06-11)
Section titled “0.15.1 (2021-06-11)”- Unexpected behavior of the HTML lang require rule #655
0.15.0 (2021-06-10)
Section titled “0.15.0 (2021-06-10)”- rules: add
html-lang-require
rule #632
0.14.2 (2020-11-11)
Section titled “0.14.2 (2020-11-11)”- Link to configuration.md from options page #563
0.14.1 (2020-06-25)
Section titled “0.14.1 (2020-06-25)”- windows path separator #443
0.14.0 (2020-05-31)
Section titled “0.14.0 (2020-05-31)”- use chalk instead of colors #433
0.13.1 (2020-05-31)
Section titled “0.13.1 (2020-05-31)”- add missing branches to action release #425
- add missing plugins for docusaurus #402
- correctly call hint queue drain #409
- duplicate ga #407
- ESLint fix
- fix url repo pkg #413
- GitHub token
- remove unused dependency esm #430
- attr-no-unnecessary-whitespace: fix when equals symbol in value #405
0.13.1-beta.2 (2020-05-31)
Section titled “0.13.1-beta.2 (2020-05-31)”- remove unused dependency esm #430
0.13.1-beta.1 (2020-05-30)
Section titled “0.13.1-beta.1 (2020-05-30)”- add missing branches to action release #425
- add missing plugins for docusaurus #402
- correctly call hint queue drain #409
- duplicate ga #407
- eslint fix
- fix url repo pkg #413
- attr-no-unnecessary-whitespace: fix when equals symbol in value #405
- GitHub token
0.13.0 (2020-05-18)
Section titled “0.13.0 (2020-05-18)”- add prettier and eslint #388
- add semantic release test #399
- ignore
PULL_REQUEST_TEMPLATE.md
- use yml in semantic.yml
- Add tags checking rule - allows specify rules for any tag and validate that #384
- added attr-no-unnecessary-whitespace rule #385
- new rule: input-requires-label - All inputs require a label #159
- new website for htmlhint.com #395
0.9.14 (2016-5-2)
Section titled “0.9.14 (2016-5-2)”add:
- cli: support hint for url
- attr-lowercase: add test case
0.9.13 (2016-5-1)
Section titled “0.9.13 (2016-5-1)”add:
- change cli parameter:
--plugin
to--rulesdir
- add formatter directory support
- add formatters: compact, markdown
- add cli parameter:
--nocolor
, disable color in cli - space-tab-mixed-disabled plugin: add space length require
- add empty elements: track,command,source,keygen,wbr
- add hint stdin for cli
fix:
- report error evidence if tag attrs include
\r\n
- space-tab-mixed-disabled issue #119
- attr name support all w3c defined characters
improve:
- Parse inline ruleset after default ruleset
0.9.10 (2015-10-12)
Section titled “0.9.10 (2015-10-12)”add:
- attr-unsafe-chars(rule): show unsafe code in message
- support glob pattern for cli
- support format as custom: json, junit, checkstyle
- support plugin:
htmlhint --plugin ./plugins/
- add rule: inline-style-disabled
- add rule: inline-script-disabled
fix:
- title-require(rule): report error when
<html><title>test</title><head></head><body></body></html>
- title-require(rule): report error when
<html><head><title></title></head><body></body></html>
0.9.9 (2015-10-9)
Section titled “0.9.9 (2015-10-9)”add:
- add config loaded message to cli log
- support async for cli
fix:
- close issue: #79, fix exit with 0 when hint errors
- fix end event col
- attr-unsafe-chars(rule): exclude
\r\n
0.9.8 (2015-10-7)
Section titled “0.9.8 (2015-10-7)”add:
- Search
.htmlhintrc
in parent directory - Allow comments in json
- Support hint any file without
.html
or.htm
extension, just like:htmlhint test.xhtml
- Support json raw format in cli
- tag-pair(rule): Show the line of the start tag
- space-tab-mixed-disabled(rule): Support space and tab mode, for check only space or tab
- Make cli logs more clear to people
- add rule: title-require,
<title>
must be present in<head>
tag.
fix:
- Fix issue: #77
<link rel=icon><link rel=icon>
- Made the descriptions and error messages of rules more clear to people
- head-script-disabled(rule): No head not result error
0.9.7 (2015-3-8)
Section titled “0.9.7 (2015-3-8)”fix:
- fix ‘No such file’ issue on mac
- head-script-disabled: not match template script
0.9.6 (2014-6-18)
Section titled “0.9.6 (2014-6-18)”add:
- add rule: attr-no-duplication
- add rule: space-tab-mixed-disabled
- add rule: id-class-ad-disabled
- add rule: href-abs-or-rel
- add rule: attr-unsafe-chars
- add default rule: attr-no-duplication
- add inline ruleset support
- add test spec: Set false to rule
- add point: load default ruleset when use empty ruleset
0.9.4 (2013-9-27)
Section titled “0.9.4 (2013-9-27)”- add rule: src-not-empty
fix:
- fix attr-value-double-quotes rule:
<img src=''>
should result error
0.9.3 (2013-5-24)
Section titled “0.9.3 (2013-5-24)”add:
- add ruleid to csslint message
fix:
- fix csslint rule: del undefined of raw
- fix parser for:
<div class=\"foo\"\"><a><span\">
0.9.2 (2013-4-6)
Section titled “0.9.2 (2013-4-6)”add:
- add rule: csslint
- add rule: jshint
- add rule: id-unique
- add cli
0.9.1 (2013-3-23)
Section titled “0.9.1 (2013-3-23)”add:
- add rule: attr-lowercase
- add rule: attr-value-double-quotes
- add rule: attr-value-not-empty
- add rule: doctype-first
- add rule: doctype-html5
- add rule: head-script-disabled
- add rule: id-class-value
- add rule: img-alt-require
- add rule: spec-char-escape
- add rule: style-disabled
- add rule: tagname-lowercase
- add rule: tag-pair
- add rule: tag-self-close