-
-
Notifications
You must be signed in to change notification settings - Fork 688
Closed
Description
Please describe what the rule should do:
The role of this rule would be to suggest props destructuring. It could also warns on its usage if necessary.
What category should the rule belong to?
[X] Enforces code style (layout)
[ ] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
Provide 2-3 code examples that this rule should warn about:
// vue/prefer-props-destructuring
const props = defineProps<>({...}) // 🚨
const {...} = defineProps<>({...}) // 👍
Additional context
mrleblanc101 and INRIX-Iurii-Okhmatntnyq, mrleblanc101 and INRIX-Iurii-Okhmat
Metadata
Metadata
Assignees
Labels
No labels