Skip to main content

run_lint

Function run_lint 

Source
pub async fn run_lint(path: &Path) -> LintOutcome
Expand description

Run the lint engine over path with the production component catalog.

Both the run CLI entrypoint and the in-process tests call this; the returned LintOutcome carries the exit code the CLI would emit so tests can assert on it without spawning a subprocess.