Skip to content

@kekkai/blueprint / InspectOptions

Interface: InspectOptions

Defined in: inspect/inspect.ts:19

Extends

  • ResolveOptions

Properties

baseline?

optional baseline?: boolean

Defined in: inspect/inspect.ts:23

Fail only on findings not recorded in the baseline (the brownfield ratchet).


framework?

optional framework?: "vue" | "react"

Defined in: project/resolve.ts:13

Force the framework when detection is ambiguous.

Inherited from

ResolveOptions.framework


json?

optional json?: boolean

Defined in: inspect/inspect.ts:21

Emit machine-readable JSON instead of the text report.


loadConfig?

optional loadConfig?: (file) => Promise<Blueprint>

Defined in: project/resolve.ts:15

Load an existing blueprint.config (default dynamic import).

Parameters

file

string

Returns

Promise<Blueprint>

Inherited from

ResolveOptions.loadConfig


log?

optional log?: (message) => void

Defined in: inspect/inspect.ts:27

Output sink (default console.log).

Parameters

message

string

Returns

void


updateBaseline?

optional updateBaseline?: boolean

Defined in: inspect/inspect.ts:25

Record the current findings as the new baseline, then exit 0.