Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion src/schemas/json/htmlhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -97,6 +107,21 @@
"type": "boolean",
"default": false
},
"main-require": {
"description": "A main element is required within the <body> tag.",
"type": "boolean",
"default": false
},
"meta-description-require": {
"description": "A meta description is required within the <head> tag.",
"type": "boolean",
"default": false
},
"meta-viewport-require": {
"description": "A meta viewport is required within the <head> tag.",
"type": "boolean",
"default": false
},
"space-tab-mixed-disabled": {
"description": "Spaces and tabs can not mixed in front of line.",
"default": false,
Expand Down Expand Up @@ -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": "<title> must be present in <head> tag.",
"description": "title must be present in head tag.",
"type": "boolean",
"default": false
}
Expand Down
Loading