Skip to content

Commit 32cbc61

Browse files
committed
chore: clean up cspell command usage
1 parent da66064 commit 32cbc61

6 files changed

+370
-671
lines changed

.prettierignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
README.md
21
docs

Readme.md

+3-8
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ Our `docs/lib/menu.json` should reference the newly-created folder at `docs/lib/
5656

5757
```json
5858
{
59-
"items": [
60-
"auth"
61-
]
59+
"items": ["auth"]
6260
}
6361
```
6462

@@ -67,9 +65,7 @@ Our `docs/lib/auth/menu.json` should reference the newly-created page at `docs/l
6765
```json
6866
{
6967
"title": "Authentication",
70-
"items": [
71-
"overview"
72-
]
68+
"items": ["overview"]
7369
}
7470
```
7571

@@ -154,6 +150,5 @@ title: Authentication Setup
154150
description: how to configure auth
155151
---
156152

157-
<inline-fragment platform="ios" src="~/docs/lib/auth/setup/fragments/ios/automated.md"></inline-fragment>
158-
<inline-fragment platform="web" src="~/docs/lib/auth/setup/fragments/web/automated.md"></inline-fragment>
153+
<inline-fragment platform="ios" src="~/docs/lib/auth/setup/fragments/ios/automated.md"></inline-fragment> <inline-fragment platform="web" src="~/docs/lib/auth/setup/fragments/web/automated.md"></inline-fragment>
159154
```

cspell.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"version": "0.1",
3+
"language": "en",
4+
"words": ["toolchain"],
5+
"flagWords": ["hte"]
6+
}

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"@types/url-parse": "^1.4.3",
3232
"@typescript-eslint/eslint-plugin": "^2.7.0",
3333
"@typescript-eslint/parser": "^2.7.0",
34+
"cspell": "^4.0.55",
3435
"eslint": "^6.6.0",
3536
"eslint-config-airbnb": "^18.0.1",
3637
"eslint-config-prettier": "^6.5.0",
@@ -53,6 +54,7 @@
5354
"task": "ts-node tasks",
5455
"build": "yarn task build",
5556
"build-content": "yarn build --skip-client-build",
57+
"spellcheck": "cspell check 'docs/**/*.md'",
5658
"start": "yarn build --watch",
5759
"test-client": "yarn build && cd client && stencil test --spec --e2e",
5860
"test-capi": "cd capi && yarn test",

0 commit comments

Comments
 (0)