eslint-plugin-vue icon indicating copy to clipboard operation
eslint-plugin-vue copied to clipboard

feat(prefer-template-ref): support auto-fix

Open 9romise opened this issue 2 weeks ago • 1 comments

Re-implement of #2632 (closes #2632). (I really love this feature!) But this PR doesn't insert import { useTemplateRef } from 'vue' automatically. Because I think that falls outside the scope of this rule. Additionally, some users rely on unplugin-auto-import and would have to remove the unnecessary import to maintain clean imports.

Please merge #2982 first.

9romise avatar Nov 27 '25 16:11 9romise