vue/no-expose-after-await
disallow asynchronously registered
expose
- ⚙️ This rule is included in the following preset configs:
*.configs["flat/essential"]*.configs["flat/strongly-recommended"]*.configs["flat/recommended"]"plugin:vue/essential""plugin:vue/strongly-recommended""plugin:vue/recommended"
📖 Rule Details
This rule reports usages of expose() and defineExpose() after an await expression.
In the setup() function, expose() should be registered synchronously.
In the <script setup>, defineExpose() should be registered synchronously.
🔧 Options
Nothing.
📚 Further Reading
🚀 Version
This rule was introduced in eslint-plugin-vue v8.1.0