Skip to main content

lint_directory

Function lint_directory 

Source
pub fn lint_directory(
    root: &Path,
    options: &LintOptions,
) -> Result<Vec<FileLintResult>, Error>
Expand description

Recursively lint all *.md files under root.

Returns an empty vector when root does not exist. Paths in each FileLintResult are relative to root.