Skip to content

Commit a6e818c

Browse files
authored
Update htmlhint.json (SchemaStore#4739)
Add additional rules
1 parent 5627b46 commit a6e818c

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/schemas/json/htmlhint.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
"type": "boolean",
1818
"default": false
1919
},
20+
"attr-sorted": {
21+
"description": "Attributes should be sorted in an order.",
22+
"type": "boolean",
23+
"default": false
24+
},
2025
"attr-unsafe-chars": {
2126
"description": "Attribute value can't not use unsafe chars.",
2227
"type": "boolean",
@@ -32,13 +37,23 @@
3237
"type": "boolean",
3338
"default": false
3439
},
40+
"attr-value-single-quotes": {
41+
"description": "Attribute value must closed by single quotes.",
42+
"type": "boolean",
43+
"default": false
44+
},
45+
"attr-whitespace": {
46+
"description": "No leading or trailing spaces inside attribute values.",
47+
"type": "boolean",
48+
"default": false
49+
},
3550
"doctype-first": {
3651
"description": "Doctype must be first.",
3752
"type": "boolean",
3853
"default": false
3954
},
4055
"doctype-html5": {
41-
"description": "Doctype must be html5.",
56+
"description": "Doctype must be HTML5.",
4257
"type": "boolean",
4358
"default": false
4459
},

0 commit comments

Comments
 (0)