mizdra / mizdra/css-modules-kit
ts-plugin does not report config diagnostics to the editor
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 197
- Forks
- 15
- Avg merge
- 1h 33m
- Merged PRs (30d)
- 9
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in packages/ts-plugin/src/index.cts at the // TODO: Report diagnostics comment, then compare how codegen reports diagnostics produced while reading tsconfig.json. Done means the ts-plugin exposes those diagnostics in the editor, ideally on the corresponding tsconfig.json property, including the dtsOutDir type error and the cmkOptions.keyframes deprecation warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100