You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to happen?
No violations should be reported.
What actually happened?
/home/projects/vitejs-vite-vaxgjy/src/ChildComponent.vue
6:1 error `onMounted` is forbidden after an `await` expression vue/no-expose-after-await
12:1 error `watch` is forbidden after an `await` expression vue/no-expose-after-await
19:1 error `bar` is forbidden after an `await` expression vue/no-expose-after-await
✖ 3 problems (3 errors, 0 warnings)
It seems like vue/no-expose-after-await is a bit too aggressive after #1885 and reports false positives for all functions after the first await; only expose and defineExpose should be caught.
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
No violations should be reported.
What actually happened?
Repository to reproduce this issue
https://stackblitz.com/edit/vitejs-vite-vaxgjy?file=src/ChildComponent.vue
Steps to reproduce:
npm run lint
.The text was updated successfully, but these errors were encountered: