Skip to content

Commit b6d3de6

Browse files
committed
Configs Updates
- Add file extension to Prettier and Stylelint (they recommend doing so and means the files are syntax highlighted in all IDEs and GitHub's Web UI) - Add `.` to cspell config so it's near the others when listed alphabetically - Specify requiring Node v18 or later. (That's the oldest supported version: https://nodejs.org/en/about/previous-releases)
1 parent 9ac0484 commit b6d3de6

File tree

6 files changed

+31
-97
lines changed

6 files changed

+31
-97
lines changed

cspell.json .cspell.json

+12-5
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
"checker",
1313
"cho",
1414
"cloudflare",
15+
"clsx",
1516
"cname",
1617
"co",
1718
"code",
1819
"codeblock",
20+
"codeql",
1921
"crossorigin",
2022
"doctype",
2123
"droidserif",
@@ -31,6 +33,7 @@
3133
"hankyu",
3234
"hreflang",
3335
"htaccess",
36+
"htmlhint",
3437
"htmlhintrc",
3538
"humanstxt",
3639
"iframe",
@@ -39,6 +42,7 @@
3942
"kakuta",
4043
"kita",
4144
"ku",
45+
"kwddm",
4246
"ladhari",
4347
"Lastmod",
4448
"lazyload",
@@ -52,20 +56,23 @@
5256
"ofukacho",
5357
"oussama",
5458
"owddm",
55-
"kwddm",
5659
"permalink",
5760
"photoswipe",
5861
"placename",
5962
"sakura",
6063
"spell",
61-
"stylelint",
6264
"streetsidesoftware",
65+
"stylelint",
66+
"tagname",
6367
"takagi",
6468
"trofin",
65-
"tagname",
6669
"typescript",
67-
"umeda"
70+
"umeda",
71+
"webp"
6872
],
6973
"language": ",en,en-US",
70-
"ignorePaths": ["*.dll", "**/*.dll"]
74+
"ignorePaths": [
75+
"*.{log,svg,snap}",
76+
"**/*.dll"
77+
]
7178
}

.htmlhintrc

-91
This file was deleted.

.prettierrc .prettierrc.json

File renamed without changes.

.stylelintrc .stylelintrc.json

File renamed without changes.

package-lock.json

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
{
22
"name": "owddm.github.io",
3+
"homepage": "https://github.com/owddm/owddm.github.io",
4+
"bugs": {
5+
"url": "https://github.com/owddm/owddm.github.io/issues"
6+
},
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/owddm/owddm.github.io.git"
10+
},
311
"type": "module",
412
"scripts": {
513
"dev": "astro dev",
@@ -14,7 +22,8 @@
1422
"preview": "astro preview",
1523
"astro": "astro",
1624
"test": "vitest",
17-
"coverage": "vitest run --coverage"
25+
"coverage": "vitest run --coverage",
26+
"spellcheck": "npx cspell@7 \"**/*.*\" --no-progress"
1827
},
1928
"dependencies": {
2029
"@astrojs/check": "^0.9.3",
@@ -40,5 +49,11 @@
4049
"stylelint-config-standard": "^36.0.1",
4150
"typescript": "^5.6.2",
4251
"vitest": "^2.1.1"
52+
},
53+
"engines": {
54+
"node": ">=18"
55+
},
56+
"volta": {
57+
"node": "18.20.4"
4358
}
4459
}

0 commit comments

Comments
 (0)