Skip to content

Commit fd100a6

Browse files
authored
Update htmlhint.json (SchemaStore#4848)
Add additional rules
1 parent 2009b94 commit fd100a6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/schemas/json/htmlhint.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
"type": "boolean",
3333
"default": false
3434
},
35+
"attr-value-no-duplication": {
36+
"description": "Class attributes should not contain duplicate values. Other attributes can be checked via configuration.",
37+
"type": "boolean",
38+
"default": false
39+
},
3540
"attr-value-not-empty": {
3641
"description": "Attribute must set value.",
3742
"type": "boolean",
@@ -62,6 +67,11 @@
6267
"type": "boolean",
6368
"default": false
6469
},
70+
"frame-title-require": {
71+
"description": "A frame or iframe element must have an accessible name.",
72+
"type": "boolean",
73+
"default": false
74+
},
6575
"h1-require": {
6676
"description": "A H1 heading element is required in HTML documents.",
6777
"type": "boolean",
@@ -112,6 +122,11 @@
112122
"type": "boolean",
113123
"default": false
114124
},
125+
"meta-charset-require": {
126+
"description": "A meta charset is required within the <head> tag.",
127+
"type": "boolean",
128+
"default": false
129+
},
115130
"meta-description-require": {
116131
"description": "A meta description is required within the <head> tag.",
117132
"type": "boolean",
@@ -142,6 +157,11 @@
142157
"type": "boolean",
143158
"default": false
144159
},
160+
"tag-no-obsolete": {
161+
"description": "Disallows the use of obsolete HTML tags.",
162+
"type": "boolean",
163+
"default": false
164+
},
145165
"tag-pair": {
146166
"description": "Tag must be paired.",
147167
"type": "boolean",

0 commit comments

Comments
 (0)