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
[ ] Enforces code style (layout)
[X] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
This rule is based on no-watch-after-await. According to the documentation, watch and computed must be called synchronously in order for them to be properly cleaned up. There is currently the no-watch-after-await rule to catch asynchronous calls of watch, but no comparable rule for computed.
The text was updated successfully, but these errors were encountered:
Please describe what the rule should do:
Disallow asynchronously registered
watch
What category should the rule belong to?
[ ] Enforces code style (layout)
[X] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
Additional context
This rule is based on
no-watch-after-await
. According to the documentation,watch
andcomputed
must be called synchronously in order for them to be properly cleaned up. There is currently theno-watch-after-await
rule to catch asynchronous calls ofwatch
, but no comparable rule forcomputed
.The text was updated successfully, but these errors were encountered: