Skip to content

Conversation

ota-meshi
Copy link
Member

This PR fixes false negatives and false positives when using destructuring and initial assignment.
It also fixes an issue where we weren't checking the return value of factory functions in <script setup>.

fixes #2578

@ota-meshi ota-meshi requested a review from FloEdelmann October 28, 2024 00:34
Copy link
Member

@FloEdelmann FloEdelmann left a comment

Choose a reason for hiding this comment

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

Looks good to me, thank you 🙂

@ota-meshi ota-meshi merged commit 9a56de8 into master Oct 28, 2024
18 checks passed
@ota-meshi ota-meshi deleted the fix-require-valid-default-prop branch October 28, 2024 10:01
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.

vue/require-valid-default-prop false positive on arrays with props destructure assignment
2 participants