Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored Feb 2, 2018
1 parent 0c0cf83 commit 2296248
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ It is possible to disable / enable the spell checker by adding comments to your
* `/* cSpell:disable */`
* `/* spell-checker: disable */`
* `/* spellchecker: disable */`
* `// cspell:disable-line` -- disables checking for the current line.
* `/* cspell:disable-next-line */` -- disables checking till the end of the next line.
<!--- cSpell:enable -->


Expand All @@ -123,7 +125,12 @@ It is possible to disable / enable the spell checker by adding comments to your
const wackyWord = ['zaallano', 'wooorrdd', 'zzooommmmmmmm'];
/* cSpell:enable */

// Nest disable / enable is not Supported
const words = ['zaallano', 'wooorrdd', 'zzooommmmmmmm']; // cspell:disable-line disables this entire line

// To disable the next line, use cspell:disable-next-line
const moreWords = ['ieeees', 'beees', 'treeees'];

// Nesting disable / enable is not Supported

// spell-checker:disable
// It is now disabled.
Expand Down

0 comments on commit 2296248

Please sign in to comment.