forked from cagov/Alpha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htmlvalidate.json
74 lines (71 loc) · 2.11 KB
/
.htmlvalidate.json
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"extends": [
"htmlvalidate:document",
"htmlvalidate:recommended"
],
"rules": {
"attr-case": ["error",{"style": "lowercase","ignoreForeign": true}],
"attr-quotes": ["error",{"style": "auto","unquoted": false}],
"attribute-allowed-values": "error",
"class-pattern": ["error",{"pattern": "kebabcase"}],
"close-attr": "error",
"close-order": "warn",
"deprecated": "warn",
"deprecated-rule": "error",
"doctype-html": "error",
"element-case": ["warn",{"style": "lowercase"}],
"element-name": "error",
"element-permitted-occurrences": "error",
"element-permitted-order": "error",
"element-required-attributes": "warn",
"element-required-content": "error",
"empty-heading": "error",
"empty-title": "error",
"heading-level": "warn",
"id-pattern": ["error",{"pattern": "kebabcase"}],
"input-missing-label": "warn",
"long-title": ["warn",{"maxlength": 100}],
"no-conditional-comment": "error",
"no-deprecated-attr": "error",
"no-dup-attr": "error",
"no-dup-class": "error",
"no-dup-id": "error",
"no-implicit-close": "warn",
"no-inline-style": "warn",
"no-missing-references": "error",
"no-raw-characters": ["warn",{"relaxed": false}],
"no-style-tag": "warn",
"prefer-button": "warn",
"prefer-tbody": "error",
"svg-focusable": "error",
"unrecognized-char-ref": "error",
"wcag/h30": "warn",
"wcag/h32": "error",
"wcag/h36": "error",
"wcag/h37": "error",
"wcag/h67": "error",
"element-permitted-content": "off",
"missing-doctype": "error",
"attribute-boolean-style": ["off",{"style": "omit"}],
"void": ["off",{"style": "selfclose"}],
"require-sri": ["off",{"target": "crossorigin"}],
"no-unknown-elements": "off",
"no-trailing-whitespace": "off"
},
"elements": ["html5",
{
"hr": {
"inherit": "hr",
"deprecated": true
},
"br": {
"inherit": "br",
"deprecated": false
},
"tr": {
"inherit": "tr",
"requiredAncestors": ["table > tbody > tr", "table > thead > tr"]
}
}
]
}