What is @cspell/dict-svelte?
@cspell/dict-svelte is a dictionary extension for the CSpell spell checker that provides Svelte-specific terms. It helps developers working with Svelte to avoid false positives in spell checking by recognizing Svelte-related terminology.
What are @cspell/dict-svelte's main functionalities?
Add Svelte dictionary to CSpell configuration
This feature allows you to add the Svelte dictionary to your CSpell configuration, enabling the spell checker to recognize Svelte-specific terms and avoid false positives.
{
"dictionaries": ["svelte"]
}
Install the Svelte dictionary
This command installs the Svelte dictionary package, making it available for use in your CSpell configuration.
npm install @cspell/dict-svelte
Other packages similar to @cspell/dict-svelte
@cspell/dict-html
@cspell/dict-html is a dictionary extension for the CSpell spell checker that provides HTML-specific terms. It is similar to @cspell/dict-svelte but focuses on HTML terminology instead of Svelte.
@cspell/dict-css
@cspell/dict-css is a dictionary extension for the CSpell spell checker that provides CSS-specific terms. Like @cspell/dict-svelte, it helps avoid false positives by recognizing terminology specific to CSS.
CSpell Svelte Dictionary
Svelte dictionary for cspell.
This is a pre-built dictionary for use with CSpell.
Installation
Global Install and add to CSpell global settings.
npm install -g @cspell/dict-svelte
cspell link add @cspell/dict-svelte
Uninstall from CSpell
cspell link remove @cspell/dict-svelte
Manual Installation
Manual installation is useful if you want to include this dictionary as part of your CI/CD lint process.
npm i @cspell/dict-svelte
The cspell-ext.json
file in this package should be added to the import section in your cspell.json
file.
{
"import": ["@cspell/dict-svelte/cspell-ext.json"],
}
Dictionary Development
See: How to Create a New Dictionary
License
MIT
Some packages may have other licenses included.