Skip to content

@kekkai/blueprint / RuleImpact

Interface: RuleImpact

Defined in: impact/impact.ts:29

One emitted rule's footprint on the current code.

Properties

count

count: number

Defined in: impact/impact.ts:32

Total messages the rule would produce.


files

files: number

Defined in: impact/impact.ts:34

Distinct files it fires in.


foreign

foreign: boolean

Defined in: impact/impact.ts:43

True when the rule id is NOT part of the emitted config — an artifact of linting in isolation (e.g. an existing eslint-disable custom/x comment whose rule lives in the project's own config, absent here). Not counted in the total: merging emitLint into the real config makes these vanish.


rule

rule: string

Defined in: impact/impact.ts:30


top

top: object[]

Defined in: impact/impact.ts:36

The heaviest files, worst first (capped at five).

count

count: number

path

path: string