Skip to content

Commit

Permalink
Flag and suggest alternatives for common mispellings
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Dec 12, 2024
1 parent 5544a7b commit 326bba7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@
"FICAM",
"FPKI"
],
"flagWords": [
"Github->GitHub",
"Gitlab->GitLab",
"pki->PKI",
"Idp->IdP",
"idp->IdP",
"IDP->IdP"
],
"patterns": [
{
"name": "Markdown links",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"scripts": {
"clean:js": "rm -rf _site/assets/js",
"cspell": "cspell --config cspell.json --no-progress '**/*.md' --exclude 'vendor/**' --exclude 'node_modules/**'",
"cspell": "cspell --config cspell.json --show-suggestions --no-progress '**/*.md' --exclude 'vendor/**' --exclude 'node_modules/**'",
"prebuild:js:common": "npm run clean:js",
"build:js:common": "esbuild `find assets/js -type f -not -name '*.min.*'` --outdir=_site/assets/js --bundle --format=esm --splitting",
"build:js:dev": "npm run build:js:common -- --sourcemap=inline",
Expand Down

0 comments on commit 326bba7

Please sign in to comment.