Skip to content

@kekkai/blueprint / ImpactOptions

Interface: ImpactOptions ​

Defined in: src/impact/impact.ts:31

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: src/impact/impact.ts:33

Emit machine-readable JSON instead of the text report.


loadConfig? ​

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

Defined in: src/impact/impact.ts:39

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

Parameters ​

file ​

string

Returns ​

Promise<Blueprint>


loadModule? ​

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

Defined in: src/impact/impact.ts:37

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: src/impact/impact.ts:35

Output sink (default console.log).

Parameters ​

message ​

string

Returns ​

void