Skip to content

TypeScript type annotations: resolve tsconfig.json extends inheritance #486

Closed as not planned

Description

@aviavraham

Description

The TypeAnnotationsAssessor checks each tsconfig.json for compilerOptions.strict directly, but does not resolve the extends field. Leaf configs that inherit strict: true from a base config (e.g., tsconfig.base.json or a shared package like @tsconfig/node20) are incorrectly treated as non-strict.

Example

// tsconfig.base.json
{ "compilerOptions": { "strict": true } }

// packages/app/tsconfig.json — inherits strict but scores as non-strict today
{ "extends": "../../tsconfig.base.json" }

Scope

  • Resolve relative extends paths
  • Handle node-style package references (e.g., @tsconfig/node20/tsconfig.json)
  • Merge parent compilerOptions into child
  • Detect and prevent circular extends
  • Add unit tests for inherited strict

Context

Identified during code review of #485. Deferred as out of scope for that PR which focused on JSONC parsing (#383) and monorepo discovery (#431).

Activity

  1. github-actions commented on Jul 31, 2026

    @github-actions
    Contributor

    👋 This issue has been inactive for 60 days and will be closed in 30 days if there is no further activity.

    If this issue is still relevant, please:

    • Add a comment with updates
    • Remove the stale label
    • Add the pinned label to prevent future stale marking

    Thank you for your contributions to AgentReady!

  2. github-actions commented on Aug 30, 2026

    @github-actions
    Contributor

    🔒 This issue has been automatically closed due to 90 days of inactivity.

    If you believe this issue should remain open, please reopen it and provide an update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions