lint_directory

Function lint_directory 

Source
pub fn lint_directory(
    directory: &Path,
    config: Option<Vec<u8>>,
) -> Result<Vec<LintDiagnostic>>
Expand description

Lint a directory of files, returning diagnostics for each file. Reads the configuration either from the provided config bytes, if any, or from the deno.json in the directory.