Skip to content

@kekkai/blueprint / ImpactOptions

Interface: ImpactOptions

Defined in: impact/impact.ts:19

blueprint impact — the rule-impact dry-run. Field feedback's costliest authoring step was deciding rule conflicts before wiring: "how many times would each emitted rule fire on this repo?" was answered by dumping the emitLint output and reading it against the code by hand. This runtime answers it directly: build the emitted config, run the project's own ESLint over the layer files with only that config, and report hits per rule. Informational, never a gate — the exit code stays 0.

Extends

  • ResolveOptions

Properties

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


loadModule?

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

Defined in: impact/impact.ts:25

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:23

Output sink (default console.log).

Parameters

message

string

Returns

void