You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added new `destructure: "only-when-assigned"` option to `vue/define-props-destructuring` and changed default value from `destructure: "always"` to `destructure: "only-when-assigned"`
-`destructure` - Sets the destructuring preference for props
67
-
-`"always"` (default) - Requires destructuring when using `defineProps` and warns against using `withDefaults` with destructuring
71
+
-`"only-when-assigned"` (default) - Requires destructuring when `defineProps` is assigned to a variable, and warns against using `withDefaults` with destructuring
72
+
-`"always"` - Requires destructuring when using `defineProps` and warns against using `withDefaults` with destructuring
68
73
-`"never"` - Requires using a variable to store props and prohibits destructuring
0 commit comments