Skip to main content

lint_with

Function lint_with 

Source
pub fn lint_with(file: &File, source: &str, rules: Vec<Rule>) -> LintReport
Expand description

Run only the given subset of rules. Useful for tests and for crates that opt into stricter-than-default subsets.