Skip to main content

lint

Function lint 

Source
pub fn lint(dir: &Path, target: Option<&str>) -> Result<LintReport, CliError>
Expand description

With no target, lints the whole directory against master; with one, lints only what it reaches, against it instead.