forked from decidim/decidim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.linthtmlrc.js
71 lines (71 loc) · 1.96 KB
/
.linthtmlrc.js
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
module.exports = {
"raw-ignore-regex": false,
"attr-bans": [
// "align",
// "background",
// "bgcolor",
// "border",
// "frameborder",
// "longdesc",
// "marginwidth",
// "marginheight",
// "scrolling",
// "style",
// "width"
],
"indent-delta": false,
"indent-style": false, // "spaces", // enable this
"indent-width": false, // 2, // enable this
"indent-width-cont": false,
"spec-char-escape": true,
"text-ignore-regex": false,
"tag-bans": [
// "style",
// "b",
// "i"
],
"tag-close": true,
"tag-name-lowercase": true,
"tag-name-match": true,
"tag-self-close": false,
"doctype-first": false,
"doctype-html5": false,
"attr-name-style": false, // "dash", // enable this
"attr-name-ignore-regex": false,
"attr-no-dup": true,
"attr-no-unsafe-char": true,
"attr-order": false,
"attr-quote-style": false, // "double", // enable this
"attr-req-value": false, // true, // enable this
"attr-new-line": false,
"attr-validate": false, //true, // enable this
"id-no-dup": false, // true, // enable this
"id-class-no-ad": false, // true, // enable this
"id-class-style": false, // "lowercase", "underscore", "dash", "camel", "bem"
"class-no-dup": false, //true, // enable ?
"class-style": false,
"id-class-ignore-regex": false,
"img-req-alt": true,
"img-req-src": true,
"html-valid-content-model": true,
"head-valid-content-model": true,
"href-style": false,
"link-req-noopener": false, // true, // enable this ?
"label-req-for": false, //true, // enable this ?
"line-end-style": "lf",
"line-no-trailing-whitespace": false, // true, // enable this
"line-max-len": false,
"line-max-len-ignore-regex": false,
"head-req-title": false,
"title-no-dup": true,
"title-max-len": false,
"html-req-lang": false,
"lang-style": false, // "case",
"fig-req-figcaption": false,
"focusable-tabindex-style": false,
"input-radio-req-name": true,
"input-req-label": false,
"table-req-caption": false,
"table-req-header": false,
"tag-req-attr": false
}