Skip to main content

lint

Function lint 

Source
pub async fn lint(directory: &Path, sample_query: &str) -> LintReport
Expand description

Check a plugin directory: the manifest, the commands it names, and the output of one sample query against the item schema.

This runs the plugin’s query command — that is the point: the schema violations that break a plugin live in its output, not its manifest.