TypeScript and JavaScript dictionary for cspell.
This is a pre-built dictionary for use with cspell.
| Tool | Version |
|---|---|
| cspell | >= 8 |
| Code Spell Checker - Visual Studio Code | >= 4 |
This package is bundled with CSpell.
VSCode Settings
Add the following to your VSCode settings:
.vscode/settings.json
CSpell Settings cspell.json
cspell.json
{
"dictionaries": ["typescript"],
}CSpell Settings cspell.config.yaml
cspell.config.yaml
dictionaries:
- typescriptNOTE: This package is bundled with CSpell.
| Name | Enabled | Description |
|---|---|---|
typescript |
TypeScript and JavaScript dictionary. | |
html |
External | |
html-symbol-entities |
External |
| Name | Locale | File Type |
|---|---|---|
typescript |
* |
typescript, javascript, typescriptreact, javascriptreact, mdx, astro |
html |
astro |
|
html-symbol-entities |
astro |
Predefined patterns can be used to ignore or include sequences of text to be spell checked.
The following patterns are defined in this dictionary:
| Name | Description |
|---|---|
js-hex-number |
JavaScript Hexadecimal Number including BigInt. |
js-hex-escape |
JavaScript String Hexadecimal Escape sequence. |
js-unicode-escape |
JavaScript String Unicode Escape sequence. |
js-regexp-flags |
JavaScript Match Regular Expression Flags |
Please help correct any mistakes in the dictionaries.
See: Contributing
Special thanks to all of our amazing contributors!
See: How to Create a New Dictionary
MIT
Some packages may have other licenses included.
Brought to you by
Street Side Software
{ "cSpell.dictionaries": ["typescript"], }