pub fn lint(dir: &Path, target: Option<&str>) -> Result<LintReport, CliError>
With no target, lints the whole directory against master; with one, lints only what it reaches, against it instead.
master