pub fn config_pattern_diagnostics(
config: &ResolvedConfig,
reports_dependencies: bool,
) -> Vec<WorkspaceDiagnostic>Expand description
workspace_diagnostics[] entries for the config patterns that matched
nothing in the latest dead-code pass over config.
One entry per unmatched ignoreFindings pattern and, when
reports_dependencies is true, one per unmatched ignoreDependencies
glob, in config order. A surface passes reports_dependencies = false when
its run does not report dependency findings (an issue-type filter without
the dependency types, or a file scope), because a dependency glob is then
not relevant to what the run shows.
The CLI, the programmatic API and the MCP typed path all build their envelope from this one function, and the human note reads the same entries, so every output states the same patterns.