Vue 3.3 - new defineEmits syntax not working properly with vue/require-explicit-emits
active
#2173
Closed
2 tasks done
Labels
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
Eslint should not give me a warning that the event I am firing has not been declared (since it was).
What actually happened?
I am getting the following errors:
250:10 warning The "update:refetch" event has been triggered but not declared on
defineEmits
vue/require-explicit-emits253:27 warning The "update:refetch" event has been triggered but not declared on
defineEmits
vue/require-explicit-emits258:8 warning The "submit" event has been triggered but not declared on
defineEmits
vue/require-explicit-emitsRepository to reproduce this issue
Repo to reproduce
By setting up this reproduction repo, I could isolate the issue to switching the
extend
key's value fromplugin:vue/vue3-essential
toplugin:vue/vue3-recommended
. This enables thevue/require-explicit-emits
rule that to my understanding is not updated to handle vue 3.3 emit definitionsThe text was updated successfully, but these errors were encountered: