sveltejs / kit

web development, streamlined
https://kit.svelte.dev
MIT License
17.81k stars 1.78k forks source link

feat: add self-closing-tags migration #12128

Closed dummdidumm closed 1 month ago

dummdidumm commented 1 month ago

Companion to sveltejs/svelte#11114. This adds an npx svelte-migrate self-closing-tags migration that replaces all the self-closing non-void elements in your .svelte files.

Alternative to #12102 with the following adjustments:


Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

Tests

Changesets

Edits

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 4a5b9ec181008d0bbba1562c7f072f7a1a47a88b

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

This PR includes changesets to release 1 package | Name | Type | | -------------- | ----- | | svelte-migrate | Minor |

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