Open sqal opened 2 years ago
Another repository to reproduce this issue was provided in #2141: https://github.com/teleskop150750/vue-no-shadow
In Vue 3.3, you can now use defineOptions
in <script setup>
and avoid this issue altogether, see https://blog.vuejs.org/posts/vue-3-3#defineoptions and https://vuejs.org/api/sfc-script-setup.html#defineoptions.
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen? No errors reported for the no-shadow rule.
What actually happened?
Repository to reproduce this issue
Online Playground