Skip to content

ts-plugin does not report config diagnostics to the editor #433

Description

@mizdra

Diagnostics produced while reading tsconfig.json (e.g. "dtsOutDir must be a string", and the deprecation warning for cmkOptions.keyframes introduced in #430) are reported by codegen, but not by ts-plugin. Editor users never see them unless they run codegen.

packages/ts-plugin/src/index.cts has a // TODO: Report diagnostics comment where this should happen.

It would be nice if ts-plugin reported these diagnostics in the editor, e.g. on the corresponding property in tsconfig.json.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions