Skip to content


disallow unused refs

📖 Rule Details

This rule is aimed at eliminating unused refs. This rule reports refs that are defined using the ref attribute in <template> but are not used via $refs.


This rule cannot be checked for use in other components (e.g. mixins, Access via $refs.x.$refs).

Now loading...

🔧 Options


🚀 Version

This rule was introduced in eslint-plugin-vue v7.9.0

🔍 Implementation