Skip to content

fix: report diagnostics in tsconfig.json#3005

Merged
jasonlyu123 merged 4 commits intosveltejs:masterfrom
jasonlyu123:options-diagnostics
Apr 30, 2026
Merged

fix: report diagnostics in tsconfig.json#3005
jasonlyu123 merged 4 commits intosveltejs:masterfrom
jasonlyu123:options-diagnostics

Conversation

@jasonlyu123
Copy link
Copy Markdown
Member

svelte-check side of #3004

One problem is that svelte-check doesn't report these diagnostics before. Does this count as a breaking change? We intended to report these in svelte-check v4, but I don't realise there are other APIs for config file diagnostics. Some people might have options deprecated in TypeScript 5.5, but were never reported in svelte-check.

In incremental/tsgo, we have to report these errors because TypeScript won't proceed to type-check. But in regular svelte-check, the type-check is still reported. If we consider this as a breaking change, should we report these as warnings for now and change them to errors in v5?

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 13, 2026

🦋 Changeset detected

Latest commit: 4ed42b2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
svelte-check Patch
svelte-language-server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jasonlyu123 jasonlyu123 requested a review from dummdidumm April 22, 2026 00:47
jasonlyu123 and others added 2 commits April 27, 2026 16:24
Co-authored-by: Copilot <copilot@github.com>
warning for now to avoid breaking change

Co-authored-by: Copilot <copilot@github.com>
@jasonlyu123 jasonlyu123 merged commit a553963 into sveltejs:master Apr 30, 2026
3 checks passed
@jasonlyu123 jasonlyu123 deleted the options-diagnostics branch April 30, 2026 08:37
@github-actions github-actions Bot mentioned this pull request Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant