Open
Description
This part of the valid-v-slot rule that is in 7.0.0-beta.8 is triggered in my code:
https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/valid-v-slot.js#L210
Basically, a named slot on anything but a template triggers it, for example:
<master-list #actions>
<button>OK</button>
</master-list>
What it would like me to do is:
<master-list>
<template #actions>
<button>OK</button>
</template>
</master-list>
I don't quite understand why this rule is in place, as that first code snippet works for me (at least in Vue 3, no idea if it works in Vue 2 as well) and the second one is more verbose with no (visible?) benefit.
Looking at the rule documentation, this case is not listed in text nor given as a code example:
https://eslint.vuejs.org/rules/valid-v-slot.html
Could you provide guidance here? What's the motivation behind the rule?