Skip to content

Commit bc23eaf

Browse files
authored
Add void tags (#4)
1 parent 717aff4 commit bc23eaf

File tree

17 files changed

+1062
-468
lines changed

17 files changed

+1062
-468
lines changed

.github/workflows/automated-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
schedule:
66
# “At 00:00 on Friday.” https://crontab.guru/#0_0_*_*_5
7-
- cron: "0 0 * * 5"
7+
- cron: '0 0 * * 5'
88

99
jobs:
1010
update:

.prettierrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
{}
1+
singleQuote: true
2+
bracketSpacing: false
3+
semi: false

.vscode/extensions.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"recommendations": [
3+
"esbenp.prettier-vscode",
4+
"editorconfig.editorconfig",
5+
"dbaeumer.vscode-eslint",
6+
"streetsidesoftware.code-spell-checker"
7+
]
8+
}

.vscode/settings.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"[javascript][typescript][javascriptreact][typescriptreact][json][jsonc][json5][markdown][yaml][css][html]": {
3+
"editor.defaultFormatter": "esbenp.prettier-vscode",
4+
"editor.formatOnSave": true
5+
},
6+
"[javascript][typescript][javascriptreact][typescriptreact]": {
7+
"editor.codeActionsOnSave": {
8+
"source.fixAll.eslint": "explicit"
9+
}
10+
},
11+
"prettier.requireConfig": true
12+
}

eslint.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import eslintPluginUnicorn from 'eslint-plugin-unicorn'
2+
3+
export default [
4+
{
5+
plugins: {unicorn: eslintPluginUnicorn},
6+
rules: {
7+
'unicorn/template-indent': 'error',
8+
},
9+
},
10+
]

html-tags.json

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
[
2+
"a",
3+
"abbr",
4+
"acronym",
5+
"address",
6+
"applet",
7+
"area",
8+
"article",
9+
"aside",
10+
"audio",
11+
"b",
12+
"base",
13+
"basefont",
14+
"bdi",
15+
"bdo",
16+
"bgsound",
17+
"big",
18+
"blink",
19+
"blockquote",
20+
"body",
21+
"br",
22+
"button",
23+
"canvas",
24+
"caption",
25+
"center",
26+
"cite",
27+
"code",
28+
"col",
29+
"colgroup",
30+
"command",
31+
"content",
32+
"data",
33+
"datalist",
34+
"dd",
35+
"del",
36+
"details",
37+
"dfn",
38+
"dialog",
39+
"dir",
40+
"div",
41+
"dl",
42+
"dt",
43+
"em",
44+
"embed",
45+
"fencedframe",
46+
"fieldset",
47+
"figcaption",
48+
"figure",
49+
"font",
50+
"footer",
51+
"form",
52+
"frame",
53+
"frameset",
54+
"h1",
55+
"h2",
56+
"h3",
57+
"h4",
58+
"h5",
59+
"h6",
60+
"head",
61+
"header",
62+
"hgroup",
63+
"hr",
64+
"html",
65+
"i",
66+
"iframe",
67+
"image",
68+
"img",
69+
"input",
70+
"ins",
71+
"isindex",
72+
"kbd",
73+
"keygen",
74+
"label",
75+
"legend",
76+
"li",
77+
"link",
78+
"listing",
79+
"main",
80+
"map",
81+
"mark",
82+
"marquee",
83+
"math",
84+
"menu",
85+
"menuitem",
86+
"meta",
87+
"meter",
88+
"multicol",
89+
"nav",
90+
"nextid",
91+
"nobr",
92+
"noembed",
93+
"noframes",
94+
"noscript",
95+
"object",
96+
"ol",
97+
"optgroup",
98+
"option",
99+
"output",
100+
"p",
101+
"param",
102+
"picture",
103+
"plaintext",
104+
"pre",
105+
"progress",
106+
"q",
107+
"rb",
108+
"rbc",
109+
"rp",
110+
"rt",
111+
"rtc",
112+
"ruby",
113+
"s",
114+
"samp",
115+
"script",
116+
"search",
117+
"section",
118+
"select",
119+
"selectedcontent",
120+
"shadow",
121+
"slot",
122+
"small",
123+
"source",
124+
"spacer",
125+
"span",
126+
"strike",
127+
"strong",
128+
"style",
129+
"sub",
130+
"summary",
131+
"sup",
132+
"svg",
133+
"table",
134+
"tbody",
135+
"td",
136+
"template",
137+
"textarea",
138+
"tfoot",
139+
"th",
140+
"thead",
141+
"time",
142+
"title",
143+
"tr",
144+
"track",
145+
"tt",
146+
"u",
147+
"ul",
148+
"var",
149+
"video",
150+
"wbr",
151+
"xmp"
152+
]

html-void-tags.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
"area",
3+
"base",
4+
"basefont",
5+
"bgsound",
6+
"br",
7+
"col",
8+
"command",
9+
"embed",
10+
"frame",
11+
"hr",
12+
"image",
13+
"img",
14+
"input",
15+
"keygen",
16+
"link",
17+
"meta",
18+
"param",
19+
"source",
20+
"track",
21+
"wbr"
22+
]

0 commit comments

Comments
 (0)