Skip to content

toolmark-monorepo / @toolmark/lint / Judge

Interface: Judge ​

Defined in: packages/lint/src/types.ts:31

A lint plugin that inspects a page's tools and returns findings (e.g. the TypeSafe judge).

Properties ​

name ​

name: string

Defined in: packages/lint/src/types.ts:33

Identifies the judge in judge-failed findings.

Methods ​

judge() ​

judge(input): Promise<Finding[]>

Defined in: packages/lint/src/types.ts:35

Inspects one page's tools and returns its findings. Never mutates input.

Parameters ​

input ​
page ​

string

tools ​

ToolManifest[]

Returns ​

Promise<Finding[]>