Skip to content

@kekkai/blueprint / RuleImpact

Interface: RuleImpact ​

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

One emitted rule's footprint on the current code.

Properties ​

count ​

count: number

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

Total messages the rule would produce.


files ​

files: number

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

Distinct files it fires in.


foreign ​

foreign: boolean

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

True when the rule id is NOT part of the emitted config — an artifact of linting in isolation, not counted in the total. count is then MENTIONS and its location the directive, so nothing here says the code beneath it violates anything (#146).


rule ​

rule: string

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


top ​

top: object[]

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

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

count ​

count: number

path ​

path: string