Ende.lint.runPlugin

function ยท experimental

function Ende.lint.runPlugin(plugin: Plugin, fileName: string, source: string): Diagnostic[]

This API is useful for testing lint plugins.

It throws an error if it's not used in ende test subcommand.