pub fn config_for_project_analysis(
root: &Path,
config_path: Option<&Path>,
options: ProjectConfigOptions,
) -> EngineResult<ProjectConfig>Expand description
Resolve config for a specific analysis without depending on the CLI crate.
This mirrors the CLI’s core config semantics: explicit production overrides are applied before resolution, per-analysis production config is flattened for the requested analysis, and boundary / external plugin / rule-pack validation happens before the resolved config reaches the engine.
§Errors
Returns an engine error when config loading or validation fails.