pub fn lint(dir: &Path, target: Option<&str>) -> Result<LintReport, CliError>Expand description
With no target, every file’s own rules, and every entry point’s types and the tails under it; with one, those of each file it reaches, the interval a render of it reads and the tails under it.