pub fn lint_file( file: &Path, source_code: &str, config_bytes: Option<&[u8]>, ) -> Result<Vec<LintDiagnostic>>