Skip to main content

check_format_files

Function check_format_files 

Source
pub fn check_format_files(
    files: &[PathBuf],
    config: &FormatConfig,
) -> Vec<LintelDiagnostic>
Expand description

Check formatting of pre-discovered files, returning diagnostics.

Unlike check_format, this skips file discovery and config loading — the caller provides both the file list and the format config. Files with unsupported extensions are silently skipped.