load_cascading_project_config

Function load_cascading_project_config 

Source
pub fn load_cascading_project_config(
    project_root: &Path,
    ito_path: &Path,
    ctx: &ConfigContext,
) -> CascadingProjectConfig
Expand description

Configuration loading and schema helpers. Load and merge project configuration sources in precedence order.

Precedence (low -> high):

  1. <repo-root>/ito.json
  2. <repo-root>/.ito.json
  3. <itoDir>/config.json (team/project defaults, typically committed)
  4. <itoDir>/config.local.json (per-developer overrides, gitignored)
  5. <repo-root>/.local/ito/config.json (optional per-developer overrides, gitignored)
  6. $PROJECT_DIR/config.json (when set)