mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
chore: add vale and cspell
This commit is contained in:
9
.cspell.json
Normal file
9
.cspell.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": "0.2",
|
||||
"dictionaryDefinitions": [
|
||||
{ "addWords": true, "path": ".cspell/dictionary.txt", "name": "dictionary" }
|
||||
],
|
||||
"language": "en",
|
||||
"dictionaries": ["dictionary"],
|
||||
"ignorePaths": ["dist"]
|
||||
}
|
||||
7
.cspell/dictionary.txt
Normal file
7
.cspell/dictionary.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
astro
|
||||
bezier
|
||||
bitstream
|
||||
lucida
|
||||
menlo
|
||||
minmax
|
||||
rgba
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -7,6 +7,9 @@ dist/
|
||||
# dependencies
|
||||
node_modules/
|
||||
|
||||
# Vale
|
||||
.vale/write-good/
|
||||
|
||||
# logs
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
|
||||
18
.vale.ini
Normal file
18
.vale.ini
Normal file
@@ -0,0 +1,18 @@
|
||||
StylesPath = .vale
|
||||
|
||||
MinAlertLevel = suggestion
|
||||
Vocab = Base
|
||||
|
||||
Packages = write-good
|
||||
|
||||
[*.{md,mdx,txt,html,astro,svelte,json}]
|
||||
BasedOnStyles = Vale, write-good
|
||||
|
||||
# Turn off rules
|
||||
Vale.Terms = NO
|
||||
Vale.Spelling = NO
|
||||
write-good.E-Prime = NO
|
||||
|
||||
[formats]
|
||||
astro = html
|
||||
svelte = html
|
||||
0
.vale/Vocab/Base/accept.txt
Normal file
0
.vale/Vocab/Base/accept.txt
Normal file
0
.vale/Vocab/Base/reject.txt
Normal file
0
.vale/Vocab/Base/reject.txt
Normal file
@@ -8,6 +8,8 @@
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro",
|
||||
"vale": "vale sync",
|
||||
"cspell": "cspell --words-only --unique 'src' | sort --ignore-case >> .cspell/dictionary.txt",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -31,5 +33,7 @@
|
||||
"prettier-plugin-tailwindcss": "^0.2.2",
|
||||
"rollup": "^3.15.0",
|
||||
"typescript": "^4.9.5",
|
||||
"vale": "^0.1.0",
|
||||
"vite": "^4.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user