Skip to content

Conversation

mikededo
Copy link
Contributor

Fix svelte/indent rule for SvelteSnippetBlock, by ensuring that the children and closing tags are properly indented.

Closes #863.

Copy link

changeset-bot bot commented Sep 26, 2024

🦋 Changeset detected

Latest commit: 659ad59

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

This PR includes changesets to release 1 package
Name Type
eslint-plugin-svelte 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

@mikededo mikededo force-pushed the fix/correct-snippet-indent branch from 7e0e6c7 to 6843e9b Compare September 26, 2024 09:25
Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!

@ota-meshi ota-meshi merged commit 580e48a into sveltejs:main Sep 27, 2024
13 checks passed
ota-meshi pushed a commit that referenced this pull request Sep 27, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## [email protected]

### Patch Changes

- [#864](#864)
[`580e48a`](580e48a)
Thanks [@mikededo](https://github.com/mikededo)! - fix(svelte/indent):
ensure proper snippet indent

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

[bug][svelte/indent] Invalid indentation for children and snippet closing tag

2 participants