Skip to content

ConfigSearchPathOptions

Directory scopes feeding buildConfigSearchPaths.

Signatures

ts
interface ConfigSearchPathOptions {}

Members

Properties

baseDir

Directory the project-scope ancestor walk starts from.

ts
baseDir: string;

loaders

Custom FormatLoaders whose extensions expand the search set.

ts
loaders?: readonly FormatLoader[];

systemConfigDirs

System-scope config roots (/etc on Linux and macOS).

ts
systemConfigDirs?: readonly string[];

userConfigDirs

User-scope config roots, highest priority first (XDG / AppData, plus ~/Library/Application Support on macOS).

ts
userConfigDirs: readonly string[];

See Also

Released under the MIT License.