sveltejs / eslint-plugin-svelte

ESLint plugin for Svelte using AST
https://sveltejs.github.io/eslint-plugin-svelte/
MIT License
307 stars 37 forks source link

feat(html-closing-bracket-new-line): add rule #870

Closed mikededo closed 1 month ago

mikededo commented 1 month ago

Adds the svelte/html-closing-bracket-newline rule, which enforces that HTML tags must have a newline (or not) after the closing bracket. This rule is inspired by vue/html-closing-bracket-newline, and is implemented ensuring what's discussed in #590.

Closes #590.

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 157d6be2890607bb509543d9517c2545e11438af

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

mikededo commented 2 weeks ago

Hey @noy4, I've fixed the docs in #915. Thanks for pointing it out!