Skip to content

@kekkai/blueprint / ImpactOptions

Interface: ImpactOptions

Defined in: impact/impact.ts:18

blueprint impact — the rule-impact dry-run: build the emitted config, run the PROJECT'S OWN ESLint over the layer files with only that config, report hits per rule. Informational, never a gate — the exit code stays 0.

Properties

json?

optional json?: boolean

Defined in: impact/impact.ts:20

Emit machine-readable JSON instead of the text report.


loadConfig?

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

Defined in: impact/impact.ts:26

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

Parameters

file

string

Returns

Promise<Blueprint>


loadModule?

optional loadModule?: (name, root) => Promise<unknown>

Defined in: impact/impact.ts:24

Load a module from the project's dependency tree (default: real import).

Parameters

name

string

root

string

Returns

Promise<unknown>


log?

optional log?: (message) => void

Defined in: impact/impact.ts:22

Output sink (default console.log).

Parameters

message

string

Returns

void