-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.htmlhintrc
26 lines (26 loc) · 875 Bytes
/
.htmlhintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"alt-require": true,
"attr-lowercase": true,
"attr-no-duplication": true,
"attr-unsafe-chars": true, // escape unsafe characters in attribute values
"attr-value-double-quotes": true,
"attr-value-not-empty": true,
"doctype-first": false,
"doctype-html5": true,
"head-script-disabled": true,
// "href-abs-or-rel": "rel", // all hrefs must be relative
"href-abs-or-rel": false,
"id-class-ad-disabled": false, // can't use "ad" word in classes and ids (irrelevant?)
"id-class-value": "dash", // classes and ids should have dash-separated words
"id-unique": true,
"inline-script-disabled": false,
"inline-style-disabled": true,
"space-tab-mixed-disabled": "space",
"spec-char-escape": true,
"src-not-empty": true,
"style-disabled": true,
"tag-pair": true,
"tag-self-close": true,
"tagname-lowercase": true,
"title-require": true
}