Skip to content

Commit 0e445c4

Browse files
committed
docs fixes
1 parent 878c0a7 commit 0e445c4

File tree

10 files changed

+53
-34
lines changed

10 files changed

+53
-34
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/workflows/spellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Check spelling'
1+
name: "Check spelling"
22
on:
33
push:
44
branches: [main]

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
lockfile-version = 3
2+
registry = 'https://registry.npmjs.org/'

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.html
22
*.min.*
3+
*.js

CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/css/index.css

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,52 +12,52 @@ body {
1212
margin: 20px 0;
1313
}
1414

15-
.muted span{
15+
.muted span {
1616
font-size: 12px;
1717
}
1818

19-
#editor-title{
20-
padding:20px 0;
19+
#editor-title {
20+
padding: 20px 0;
2121
}
2222

23-
#editor-toolbar{
24-
float:right;
23+
#editor-toolbar {
24+
float: right;
2525
}
2626

27-
#editor{
28-
border:1px solid #ccc;
29-
border-radius: 4px;
30-
height:300px;
27+
#editor {
28+
border: 1px solid #ccc;
29+
border-radius: 4px;
30+
height: 300px;
3131
}
3232

33-
#stat-bar{
34-
padding:10px 0;
33+
#stat-bar {
34+
padding: 10px 0;
3535
}
3636

37-
#button-area{
38-
float:right;
39-
padding:0 10px;
40-
display:none;
37+
#button-area {
38+
float: right;
39+
padding: 0 10px;
40+
display: none;
4141
}
4242

43-
.footer{
44-
text-align:center;
43+
.footer {
44+
text-align: center;
4545
}
4646

47-
#options{
48-
padding:20px;
47+
#options {
48+
padding: 20px;
4949
}
5050

51-
#options h3{
52-
font-size: 18px;
51+
#options h3 {
52+
font-size: 18px;
5353
}
5454

55-
#options ul{
56-
list-style: none;
57-
margin: 0;
55+
#options ul {
56+
list-style: none;
57+
margin: 0;
5858
}
5959

60-
#options li div{
61-
display:none;
62-
padding-left:20px;
63-
}
60+
#options li div {
61+
display: none;
62+
padding-left: 20px;
63+
}

docs/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
<title>HTMLHint - The Static Code Analysis Tool you need for your HTML</title>
77
<meta name="description" content="HTMLHint - The Static Code Analysis Tool you need for your HTML">
88
<link rel="icon" href="favicon.ico" type="image/x-icon">
9+
<meta name="color-scheme" content="light"/>
910
<link href="css/bootstrap.min.css" rel="stylesheet">
1011
<link href="css/index.css" rel="stylesheet">
1112
<link rel="canonical" href="https://playground.htmlhint.com/">
13+
<meta name="fediverse:creator" content="@[email protected]">
1214
<script defer data-domain="playground.htmlhint.com" src="https://plausible.io/js/script.hash.outbound-links.pageview-props.tagged-events.js"></script>
1315
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
1416
</head>
@@ -159,7 +161,7 @@ <h3>Other</h3>
159161
</div>
160162
</main>
161163
<hr>
162-
<footer>
164+
<footer class="small text-center opacity-75">
163165
<p>&copy; HTMLHint.com 2014-2021</p>
164166
</footer>
165167
</div>

docs/js/htmlhint.min.js

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "htmlhint-playground",
33
"version": "1.0.0",
44
"private": true,
5-
"description": "",
5+
"description": "HTMLHint Playground",
66
"homepage": "https://htmlhint-playground.netlify.app/",
77
"bugs": {
88
"url": "https://github.com/htmlhint/htmlhint-playground/issues"
@@ -11,17 +11,22 @@
1111
"type": "git",
1212
"url": "https://github.com/htmlhint/htmlhint-playground.git"
1313
},
14+
"funding": {
15+
"type": "Open Collective",
16+
"url": "https://opencollective.com/htmlhint"
17+
},
1418
"license": "MIT",
1519
"author": "HTMLHint",
1620
"scripts": {
1721
"htmlhint": "npx htmlhint .",
1822
"pa11y-ci": "npx pa11y-ci https://htmlhint-playground.netlify.app/",
23+
"prettier": "npx prettier --write .",
1924
"serve": "npx http-server -o docs/index.html -p 8080 -c-1"
2025
},
2126
"engines": {
22-
"node": ">=20"
27+
"node": ">=22.16.0"
2328
},
2429
"volta": {
25-
"node": "20.19.1"
30+
"node": "22.16.0"
2631
}
2732
}

0 commit comments

Comments
 (0)