Skip to content

hasProjectConfig

hasProjectConfig(commandLineConfigOverrides): boolean

Defined in: core/dist/config/loader.d.ts:121

Returns true when a project-level config file (json/jsonc/js/mjs) exists for the given overrides. Honours customConfigPath and the active identity profile so the check matches exactly what initConfig would attempt to load.

This is the project half of CFG-10’s “is any config present?” detection; the global half is loadGlobalRawConfig (used by hasAnyConfig).

CommandLineConfigOverrides

boolean