Closed
Description
What rule do you want to change?
require-name-property
Does this change cause the rule to produce more or fewer warnings?
no
How will the change be implemented? (New option, new default behavior, etc.)?
add fixer
Please provide some example code that this change will affect:
if the component code is like this, and the component filename is ./DemoComponent.vue
export default defineComponent({
components: { },
setup() {
return {
};
},
});
What does the rule currently do for this code?
add name property to component.
What will the rule do after it's changed?
export default defineComponent({
name:'DemoComponent',
components: { },
setup() {
return {
};
},
});
Metadata
Metadata
Assignees
Labels
No labels