Skip to content

Commit 397c749

Browse files
Updated cspell config
1 parent 6c7da50 commit 397c749

2 files changed

Lines changed: 62 additions & 26 deletions

File tree

cspell.json

Lines changed: 61 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,63 @@
11
{
2-
"version": "0.2",
3-
"language": "en",
4-
"dictionaries": ["dictionary-octopus"],
5-
"dictionaryDefinitions": [{
6-
"name": "dictionary-octopus",
7-
"path": "./dictionary-octopus.txt",
8-
"addWords": false
9-
}],
10-
"flagWords": [
11-
"hte",
12-
"Octostash"
13-
],
14-
"ignorePaths": [
15-
"cspell.json",
16-
"package.json",
17-
"package-lock.yaml",
18-
"pnpm-lock.yaml",
19-
"docs/credits.md",
20-
".octopus/**",
21-
".vscode/**",
22-
".github/**",
23-
"src/pages/report/**",
24-
"public/docs/js/**",
25-
"node_modules/**",
26-
"public/docs/css/fa/**"
27-
]
2+
"version": "0.2",
3+
"language": "en",
4+
"dictionaries": ["dictionary-octopus"],
5+
"dictionaryDefinitions": [
6+
{
7+
"name": "dictionary-octopus",
8+
"path": "./dictionary-octopus.txt",
9+
"addWords": false
10+
}
11+
],
12+
"flagWords": [
13+
"hte->the",
14+
"octostash->octostache",
15+
"on premise->on-premises",
16+
"on-premise->on-premises",
17+
"utilize->use",
18+
"utilizes->uses",
19+
"utilized->used",
20+
"utilizing->using",
21+
"utilization->use",
22+
"whilst->while"
23+
],
24+
"suggestWords": [
25+
"allow->let",
26+
"allowing->letting",
27+
"allows->lets",
28+
"article->post",
29+
"articles->posts",
30+
"black list->block list",
31+
"blacklist->block list",
32+
"disable->deactivate",
33+
"disabled->deactivated",
34+
"disables->deactivates",
35+
"disabling->deactivating",
36+
"enable->let",
37+
"enables->lets",
38+
"enabling->letting",
39+
"leverage->use",
40+
"leverages->uses",
41+
"leveraging->using",
42+
"native->built-in",
43+
"usage->use",
44+
"white list->safe list",
45+
"white-list->safe list",
46+
"whitelist->safe list",
47+
"within->in"
48+
],
49+
"ignorePaths": [
50+
"cspell.json",
51+
"package.json",
52+
"package-lock.yaml",
53+
"pnpm-lock.yaml",
54+
"docs/credits.md",
55+
".octopus/**",
56+
".vscode/**",
57+
".github/**",
58+
"src/pages/report/**",
59+
"public/docs/js/**",
60+
"node_modules/**",
61+
"public/docs/css/fa/**"
62+
]
2863
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"dev:watch": "pnpm watch",
1616
"test": "astro build && npx playwright install --with-deps && npx playwright test",
1717
"spellcheck": "git fetch origin main:refs/remotes/origin/main && git diff origin/main --name-only --diff-filter=ACMRTUXB | cspell --no-must-find-files --file-list stdin",
18+
"spellcheck-all": "cspell \"**/*.{md,mdx}\"",
1819
"build": "astro build",
1920
"preview": "astro preview",
2021
"astro": "astro",

0 commit comments

Comments
 (0)