# vue/return-in-emits-validator
enforce that a return statement is present in emits validator
- ⚙️ This rule is included in all of
"plugin:vue/vue3-essential"
,"plugin:vue/vue3-strongly-recommended"
and"plugin:vue/vue3-recommended"
.
# 📖 Rule Details
This rule enforces that a return
statement is present in emits
validators.
# 🔧 Options
Nothing.
# 📚 Further Reading
- Guide - Custom Events / Validate Emitted Events (opens new window)
- Vue RFCs - 0030-emits-option (opens new window)
# 🚀 Version
This rule was introduced in eslint-plugin-vue v7.0.0