Skip to content

@kekkai/blueprint / RuleImpact

Interface: RuleImpact

Defined in: impact/impact.ts:30

One emitted rule's footprint on the current code.

Properties

count

count: number

Defined in: impact/impact.ts:33

Total messages the rule would produce.


files

files: number

Defined in: impact/impact.ts:35

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


top

top: object[]

Defined in: impact/impact.ts:37

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

count

count: number

path

path: string