From 91e5a65e3ec4c89971b402ad5a31343f52da9fb5 Mon Sep 17 00:00:00 2001 From: coliff Date: Sat, 31 May 2025 17:37:59 +0900 Subject: [PATCH] Release v1.3.0 --- package-lock.json | 4 ++-- package.json | 2 +- website/src/content/docs/changelog.mdx | 15 +++++++++++++++ website/src/content/docs/rules/h1-require.mdx | 1 - website/src/content/docs/rules/main-require.mdx | 1 - 5 files changed, 18 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 656082c7e..1eb5fe01c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "htmlhint", - "version": "1.2.0", + "version": "1.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "htmlhint", - "version": "1.2.0", + "version": "1.3.0", "license": "MIT", "dependencies": { "async": "3.2.6", diff --git a/package.json b/package.json index 86b45a6ca..4beb4ed45 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/website/src/content/docs/changelog.mdx b/website/src/content/docs/changelog.mdx index a70499fa7..0ddf1a514 100644 --- a/website/src/content/docs/changelog.mdx +++ b/website/src/content/docs/changelog.mdx @@ -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)_ + +- New rule: main-require + [#1608](https://github.com/htmlhint/HTMLHint/issues/1608) +- New rule: h1-require + [#1605](https://github.com/htmlhint/HTMLHint/issues/1605) +- Sort data-* attributes at end + [#1591](https://github.com/htmlhint/HTMLHint/issues/1591) +- Add rel to list of sorted attributes + [#1579](https://github.com/htmlhint/HTMLHint/issues/1579) +- npx htmlhint -l doesn't list rules alphabetically + [#1598](https://github.com/htmlhint/HTMLHint/issues/1598) +- doctype-first does not account for comments being permitted beforehand + [#1610](https://github.com/htmlhint/HTMLHint/issues/1610) + ## 1.2.0 _(2025-05-26)_ - Sort unknown attributes alphabetically diff --git a/website/src/content/docs/rules/h1-require.mdx b/website/src/content/docs/rules/h1-require.mdx index 56b5e7a5f..24b583e1e 100644 --- a/website/src/content/docs/rules/h1-require.mdx +++ b/website/src/content/docs/rules/h1-require.mdx @@ -3,7 +3,6 @@ id: h1-require title: h1-require description: Ensures that an HTML document contains at least one `

` element for proper document structure and accessibility. sidebar: - hidden: true badge: New --- import { Badge } from '@astrojs/starlight/components'; diff --git a/website/src/content/docs/rules/main-require.mdx b/website/src/content/docs/rules/main-require.mdx index 58368dc11..182d0a30b 100644 --- a/website/src/content/docs/rules/main-require.mdx +++ b/website/src/content/docs/rules/main-require.mdx @@ -3,7 +3,6 @@ id: main-require title: main-require description: Ensures that an HTML document contains a `
` element within the `` tag for proper document structure and accessibility. sidebar: - hidden: true badge: New --- import { Badge } from '@astrojs/starlight/components';