Skip to main content

Function: createSpellcheckCspellDictionaryCollection()

function createSpellcheckCspellDictionaryCollection(
options: Readonly<SpellcheckCspellDictionaryOptions>
): SpellcheckCspellDictionaryCollectionResult;

Defined in: _internal/spellcheck-cspell.ts:898

Build one cspell-backed dictionary collection for spellcheck-comments.

Parameters

options

Readonly<SpellcheckCspellDictionaryOptions>

Rule options that influence imported dictionaries.

Returns

SpellcheckCspellDictionaryCollectionResult

The assembled collection plus any resource load problems.