Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "htmlhint",
"version": "1.2.0",
"version": "1.3.0",
"description": "The Static Code Analysis Tool for your HTML",
"keywords": [
"html",
Expand Down
15 changes: 15 additions & 0 deletions website/src/content/docs/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ description: The release notes for HTMLHint, see what's changed with each new ve

import { Badge } from '@astrojs/starlight/components'

## 1.3.0 _(2025-05-31)_

- <Badge text="Feat" size="small" /> New rule: main-require
[#1608](https://github.com/htmlhint/HTMLHint/issues/1608)
- <Badge text="Feat" size="small" /> New rule: h1-require
[#1605](https://github.com/htmlhint/HTMLHint/issues/1605)
- <Badge text="Feat" size="small" /> Sort data-* attributes at end
[#1591](https://github.com/htmlhint/HTMLHint/issues/1591)
- <Badge text="Feat" size="small" /> Add rel to list of sorted attributes
[#1579](https://github.com/htmlhint/HTMLHint/issues/1579)
- <Badge text="Fix" size="small" variant="danger" /> npx htmlhint -l doesn't list rules alphabetically
[#1598](https://github.com/htmlhint/HTMLHint/issues/1598)
- <Badge text="Fix" size="small" variant="danger" /> doctype-first does not account for comments being permitted beforehand
[#1610](https://github.com/htmlhint/HTMLHint/issues/1610)

## 1.2.0 _(2025-05-26)_

- <Badge text="Feat" size="small" /> Sort unknown attributes alphabetically
Expand Down
1 change: 0 additions & 1 deletion website/src/content/docs/rules/h1-require.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ id: h1-require
title: h1-require
description: Ensures that an HTML document contains at least one `<h1>` element for proper document structure and accessibility.
sidebar:
hidden: true
badge: New
---
import { Badge } from '@astrojs/starlight/components';
Expand Down
1 change: 0 additions & 1 deletion website/src/content/docs/rules/main-require.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ id: main-require
title: main-require
description: Ensures that an HTML document contains a `<main>` element within the `<body>` tag for proper document structure and accessibility.
sidebar:
hidden: true
badge: New
---
import { Badge } from '@astrojs/starlight/components';
Expand Down