Conversation
🦋 Changeset detectedLatest commit: 1192e83 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 |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
ce07ac0 to
65403f1
Compare
Parser conformance results onjs/262
jsx/babel
markdown/commonmark
symbols/microsoft
ts/babel
ts/microsoft
|
|
No actionable comments were generated in the recent review. 🎉 WalkthroughThe PR fixes the noAssignInExpressions rule to no longer flag assignments within Vue v-on event handlers. Changes include adding an event_handler field to track Vue embeddings corresponding to event handlers, updating the embedding construction in directive handlers to set this flag appropriately, modifying the rule to skip processing when in a Vue event handler context, and adding tests to verify correct behaviour in both v-on directives and template interpolations. Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Comment |
Merging this PR will not alter performance
Comparing Footnotes
|
Extend `EmbeddingKind::Svelte` with a `const_block` flag that marks
embeds originating from a `{@const name = value}` block. The rule now
returns early for those embeds, since the assignment is a declaration
scoped to the enclosing block rather than an accidental use of `=`.
Follows the pattern used for Vue `v-on` event handlers in biomejs#9164.
Fixes biomejs#10082.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Summary
@click="open = true"is a pretty common pattern in vue, and is considered idiomatic. This makes it sonoAssignInExpressionsgets ignored in these scenarios.closes #9161
Test Plan
added some cli tests
Docs