Skip to content

basalt / ai/src / runDoctor

Function: runDoctor() ​

> runDoctor(ctx, rules?): Diagnostic[]

Defined in: ai/src/doctor/run.ts:11

Run every rule against the project context and return the diagnostics that fired, most severe first.

Parameters ​

ctx ​

ProjectContext

rules? ​

DoctorRule[] = DEFAULT_RULES

Returns ​

Diagnostic[]

Released under the MIT License.