Skip to content

feat: support Svelte 5 declaration tags#533

Merged
dummdidumm merged 4 commits into
mainfrom
declaration-tags
Jun 1, 2026
Merged

feat: support Svelte 5 declaration tags#533
dummdidumm merged 4 commits into
mainfrom
declaration-tags

Conversation

@dummdidumm

@dummdidumm dummdidumm commented May 24, 2026

Copy link
Copy Markdown
Member

Should only be merged once sveltejs/svelte#18282 is done/merged

dummdidumm added a commit to sveltejs/svelte that referenced this pull request May 29, 2026
Allows `{let/const ...}` declarations in all places (and more) where we
already allow `{@const ...}` (which will eventually get deprecated in
favor of this new feature).

Closes: #16490


Companion PRs:
- sveltejs/language-tools#3033
- sveltejs/prettier-plugin-svelte#533
- sveltejs/eslint-plugin-svelte#1533
- sveltejs/svelte-eslint-parser#891

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
@hyunbinseo

hyunbinseo commented May 30, 2026

Copy link
Copy Markdown
Contributor

See all companion PRs in sveltejs/svelte#18282 body

@dummdidumm dummdidumm merged commit aa3eb1e into main Jun 1, 2026
5 checks passed
@dummdidumm dummdidumm deleted the declaration-tags branch June 1, 2026 08:17
@github-actions github-actions Bot mentioned this pull request Jun 1, 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.

2 participants