pub fn lint_with(file: &File, source: &str, rules: Vec<Rule>) -> LintReport
Run only the given subset of rules. Useful for tests and for crates that opt into stricter-than-default subsets.