From e32207766d00e5bb52bc0c87d811bf2dddc8d811 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Tue, 3 Jun 2025 18:00:51 +0900 Subject: [PATCH] Update htmlhint.json (#4758) --- src/schemas/json/htmlhint.json | 37 +++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/src/schemas/json/htmlhint.json b/src/schemas/json/htmlhint.json index 5d2746bda2a..37f1cb983cf 100644 --- a/src/schemas/json/htmlhint.json +++ b/src/schemas/json/htmlhint.json @@ -47,6 +47,11 @@ "type": "boolean", "default": false }, + "button-type-require": { + "description": "The type attribute of a button element must be present with a valid value: button, submit, or reset.", + "type": "boolean", + "default": false + }, "doctype-first": { "description": "Doctype must be first.", "type": "boolean", @@ -57,6 +62,11 @@ "type": "boolean", "default": false }, + "h1-require": { + "description": "A H1 heading element is required in HTML documents.", + "type": "boolean", + "default": false + }, "head-script-disabled": { "description": "The script tag can not be used in head.", "type": "boolean", @@ -97,6 +107,21 @@ "type": "boolean", "default": false }, + "main-require": { + "description": "A main element is required within the tag.", + "type": "boolean", + "default": false + }, + "meta-description-require": { + "description": "A meta description is required within the tag.", + "type": "boolean", + "default": false + }, + "meta-viewport-require": { + "description": "A meta viewport is required within the tag.", + "type": "boolean", + "default": false + }, "space-tab-mixed-disabled": { "description": "Spaces and tabs can not mixed in front of line.", "default": false, @@ -132,8 +157,18 @@ "type": "boolean", "default": false }, + "tagname-specialchars": { + "description": "Tagname must not contain any characters beside letters, numbers, ”-”, ”:” or ”_”.", + "type": "boolean", + "default": false + }, + "tags-check": { + "description": "Check if particular tags are self-closing or must include or exclude particular tags.", + "type": "boolean", + "default": false + }, "title-require": { - "description": " must be present in <head> tag.", + "description": "title must be present in head tag.", "type": "boolean", "default": false }