Why this matters
Project references give correct incremental builds and type isolation in monorepos.
When a TS package depends on another workspace package, tsconfig.json must set "composite": true and include a "references" entry to the dependency; root must aggregate paths via tsconfig.base.json if used.
Project references give correct incremental builds and type isolation in monorepos.
Side-by-side examples engineers can pattern-match during review.
{
"compilerOptions": { "target": "ES2020" }
}{
"compilerOptions": { "composite": true, "declaration": true },
"references": [{ "path": "../core" }]
}"references": [{ "path": "../core" }]"compilerOptions": { "composite": false }From the same buckets as this rule.