pub fn lint( root: &Segment, source: &str, rules: &[Box<dyn Rule>], dialect: &str, ) -> Vec<LintViolation>
Run all rules against a parsed CST.