Skip to content

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).

T extends ExtendableConfig

T

The configuration data to resolve.

string

The path of the configuration file (used for resolving relative paths).

ExtendableConfigParser

The parser function to parse configuration modules.

string

The configuration ID (e.g. “eslint”, “babel”, etc.).

ResolveExtendableConfigOptions

The options for resolving the configuration.

Promise<Omit<T, "extends">>

The resolved configuration data, without the “extends”-property.