When using Vue
composition API with <script setup>
, components are just imported like
import Component from '@/components/Component.vue';
How do I keep eslint from applying the no-unused-var
rule here, without disabling the rule completely? I would like it to detect “real” unused variables but those imports are in fact used in the template section.