Skip to content

Commit a8db0c2

Browse files
Добавляет правила
1 parent 8f3eef9 commit a8db0c2

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

.htmlhintrc

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
// Doctype and Head
3+
"doctype-first": true,
4+
"doctype-html5": true,
5+
"head-script-disabled": true,
6+
"style-disabled": true,
7+
"title-require": true,
8+
9+
// Attributes
10+
"attr-lowercase": ["viewBox", "preserveAspectRatio"],
11+
"attr-no-duplication": true,
12+
"attr-no-unnecessary-whitespace": true,
13+
"attr-unsafe-chars": true,
14+
"attr-value-double-quotes": true,
15+
"attr-value-not-empty": false,
16+
"alt-require": true,
17+
"input-requires-label": false,
18+
19+
// Tags
20+
"tags-check": false,
21+
"tag-pair": true,
22+
"tag-self-close": false,
23+
"tagname-lowercase": true,
24+
"empty-tag-not-self-closed": false,
25+
"src-not-empty": true,
26+
"href-abs-or-rel": false,
27+
28+
// Id
29+
"id-class-ad-disabled": true,
30+
"id-class-value": false,
31+
"id-unique": false,
32+
"id-unique": true,
33+
34+
// Inline
35+
"inline-script-disabled": true,
36+
"inline-style-disabled": false,
37+
38+
// Formatting
39+
"space-tab-mixed-disabled": "space",
40+
"spec-char-escape": true
41+
}

0 commit comments

Comments
 (0)