pub fn run_lints( scripts: &[CompiledScript], source_cache: Option<SourceProvider<'_>>, ) -> DiagnosticsCollector