resolveExtendableConfig
resolveExtendableConfig<
T>(configData,configPath,configParser,configId,options?):Promise<Omit<T,"extends">>
Defined in: extendable-config/resolve-extendable-config.ts:79
Resolve an extendable configuration (with “extends”-property).
Type Parameters
Section titled “Type Parameters”T extends ExtendableConfig
Parameters
Section titled “Parameters”configData
Section titled “configData”T
The configuration data to resolve.
configPath
Section titled “configPath”string
The path of the configuration file (used for resolving relative paths).
configParser
Section titled “configParser”The parser function to parse configuration modules.
configId
Section titled “configId”string
The configuration ID (e.g. “eslint”, “babel”, etc.).
options?
Section titled “options?”ResolveExtendableConfigOptions
The options for resolving the configuration.
Returns
Section titled “Returns”Promise<Omit<T, "extends">>
The resolved configuration data, without the “extends”-property.