Skip to content

Commit e322077

Browse files
authored
Update htmlhint.json (SchemaStore#4758)
1 parent d648e8b commit e322077

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

src/schemas/json/htmlhint.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
"type": "boolean",
4848
"default": false
4949
},
50+
"button-type-require": {
51+
"description": "The type attribute of a button element must be present with a valid value: button, submit, or reset.",
52+
"type": "boolean",
53+
"default": false
54+
},
5055
"doctype-first": {
5156
"description": "Doctype must be first.",
5257
"type": "boolean",
@@ -57,6 +62,11 @@
5762
"type": "boolean",
5863
"default": false
5964
},
65+
"h1-require": {
66+
"description": "A H1 heading element is required in HTML documents.",
67+
"type": "boolean",
68+
"default": false
69+
},
6070
"head-script-disabled": {
6171
"description": "The script tag can not be used in head.",
6272
"type": "boolean",
@@ -97,6 +107,21 @@
97107
"type": "boolean",
98108
"default": false
99109
},
110+
"main-require": {
111+
"description": "A main element is required within the <body> tag.",
112+
"type": "boolean",
113+
"default": false
114+
},
115+
"meta-description-require": {
116+
"description": "A meta description is required within the <head> tag.",
117+
"type": "boolean",
118+
"default": false
119+
},
120+
"meta-viewport-require": {
121+
"description": "A meta viewport is required within the <head> tag.",
122+
"type": "boolean",
123+
"default": false
124+
},
100125
"space-tab-mixed-disabled": {
101126
"description": "Spaces and tabs can not mixed in front of line.",
102127
"default": false,
@@ -132,8 +157,18 @@
132157
"type": "boolean",
133158
"default": false
134159
},
160+
"tagname-specialchars": {
161+
"description": "Tagname must not contain any characters beside letters, numbers, ”-”, ”:” or ”_”.",
162+
"type": "boolean",
163+
"default": false
164+
},
165+
"tags-check": {
166+
"description": "Check if particular tags are self-closing or must include or exclude particular tags.",
167+
"type": "boolean",
168+
"default": false
169+
},
135170
"title-require": {
136-
"description": "<title> must be present in <head> tag.",
171+
"description": "title must be present in head tag.",
137172
"type": "boolean",
138173
"default": false
139174
}

0 commit comments

Comments
 (0)