Skip to main content

lint

Function lint 

Source
pub fn lint(program: &Program) -> Vec<Diagnostic>
Expand description

Run every built-in lint pass over program and return all findings, sorted by line for stable, readable output. Findings silenced by a // @skip(...) comment on the program are dropped.