Skip to content

Commit 2a523cb

Browse files
docs: add examples for spellchecker and spell-checker ignores
Signed-off-by: cylewaitforit <koehler732@gmail.com>
1 parent b4dd776 commit 2a523cb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/configuration/document-settings.md

+8
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,18 @@ const str = 'goedemorgen'; // <- will NOT be flagged as an error.
8383

8484
_Ignore_ allows you the specify a list of words you want to ignore within the document.
8585

86+
- `/* cSpell: ignore */`
87+
- `/* spell-checker: ignore */`
88+
- `/* spellchecker: ignore */`
89+
8690
```javascript
8791
// cSpell:ignore zaallano, wooorrdd
8892
// cSpell:ignore zzooommmmmmmm
8993
const wackyWord = ['zaallano', 'wooorrdd', 'zzooommmmmmmm'];
94+
95+
// spell-checker: ignore ieeees
96+
/* spellchecker: ignore beees,treeees */
97+
const moreWords = ['ieeees', 'beees', 'treeees'];
9098
```
9199

92100
**Note:** words defined with `ignore` will be ignored for the entire file.

0 commit comments

Comments
 (0)