Skip to content

ConfigLayerValidationReport

Defined in: packages/core/dist/config/loader.d.ts:353

One config LAYER’s validation outcome inside a ConfigValidationReport: the pure read-side result (validateRawGthConfig) plus the source label so a consumer can name WHICH file carried a warning/error (the project path, or "<name> (global)").

optional errorMessage?: string

Defined in: packages/core/dist/config/schema.d.ts:3247

Present only when ok is false: the path-scoped, multi-line validation message.

RawConfigValidationResult.errorMessage


ok: boolean

Defined in: packages/core/dist/config/schema.d.ts:3243

True when the config parses against the schema (unknown keys do NOT make it false).

RawConfigValidationResult.ok


sourceLabel: string

Defined in: packages/core/dist/config/loader.d.ts:355

The resolved config path (project layer) or "<name> (global)" (global layer).


warnings: string[]

Defined in: packages/core/dist/config/schema.d.ts:3245

Non-fatal advisories: unknown top-level keys (likely typos). Deprecated shapes are hard errors, not warnings.

RawConfigValidationResult.warnings