Skip to main content

Function: searchForConfig()

searchForConfig(searchFrom, pnpSettings): Promise<undefined | CSpellSettingsInternal>

Defined in: packages/cspell-lib/src/lib/Settings/Controller/configLoader/defaultConfigLoader.ts:23

Parameters

searchFrom

the directory / file to start searching from.

undefined | string | URL

pnpSettings

OptionalOrUndefined = defaultPnPSettings

related to Using Yarn PNP.

Returns

Promise<undefined | CSpellSettingsInternal>

the resulting settings