Skip to content

ConfigDiscoveryOptions

Options for discoverConfig.

Signatures

ts
interface ConfigDiscoveryOptions {}

Members

Properties

configPath

Explicit config file path (--config override). When provided, skips search — loads only this path.

ts
configPath?: string;

loaders

Additional format loaders (JSON is built-in). Later loaders for the same extension win (allows override).

ts
loaders?: readonly FormatLoader[];

searchPaths

Custom search paths (absolute). Replaces the default search paths when provided. Probed in order; first found wins.

ts
searchPaths?: readonly string[];

See Also

Released under the MIT License.