Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix false negatives and false positives in vue/require-valid-default-prop rule #2586

Merged
merged 2 commits into from
Oct 28, 2024

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