fix(html): support nested svelte each destructuring#9692
Conversation
🦋 Changeset detectedLatest commit: 1f52a5e The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
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 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (6)
WalkthroughThis change extends Svelte Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Merging this PR will not alter performance
Comparing Footnotes
|
Summary
Fixed nested destructuring in Svelte
#eachbindings such as[key, { a, b }].This updates the Svelte binding pattern grammar so nested destructured names are accepted in
#eachblocks, and adds parser and formatter coverage for the case.Test Plan
just gen-grammar htmlcargo test -p biome_html_parser each_with_destructuringcargo test -p biome_html_formatter each_with_destructuringjust fjust lcurrently fails in this environment during repo-wide linting in crates unrelated to this change.Docs
Not applicable.