run

abstract fun run(context: RuleContext, reporter: DiagnosticReporter)

Runs this rule against the current context.

Implementations report diagnostics through reporter and should not mutate the source file directly.