Skip to content

Commit 17b1105

Browse files
authored
HTMLHint: specify type of array items (SchemaStore#5306)
2 parents 298b9d8 + 943ff02 commit 17b1105

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/schemas/json/htmlhint.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
},
1010
"attr-lowercase": {
1111
"description": "Attribute name must be lowercase.",
12-
"anyOf": [{ "type": "boolean" }, { "type": "array" }],
12+
"anyOf": [
13+
{ "type": "boolean" },
14+
{ "type": "array", "items": { "type": "string" } }
15+
],
1316
"default": false
1417
},
1518
"attr-no-duplication": {
@@ -34,7 +37,10 @@
3437
},
3538
"attr-value-no-duplication": {
3639
"description": "Class attributes should not contain duplicate values. Other attributes can be checked via configuration.",
37-
"anyOf": [{ "type": "boolean" }, { "type": "array" }],
40+
"anyOf": [
41+
{ "type": "boolean" },
42+
{ "type": "array", "items": { "type": "string" } }
43+
],
3844
"default": false
3945
},
4046
"attr-value-not-empty": {

0 commit comments

Comments
 (0)