vuejs / eslint-plugin-vue

Official ESLint plugin for Vue.js
https://eslint.vuejs.org/
MIT License
4.47k stars 667 forks source link

fix(prefer-use-template-ref): add support for `shallowRef` #2608

Closed ntnyq closed 3 days ago

ntnyq commented 1 week ago

This PR adds shallowRef support to rule prefer-use-template-ref.

FloEdelmann commented 3 days ago

I'll merge this without @ota-meshi's review now to make conflict resolution possible in #2612. But feel free to comment on it afterwards!