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
I read the source code for the prefer-await-to-then rule.
It looks like we're intentionally excluding the top-level then. I think it's because there are platforms where top-level await is not yet available.
Description
I configured the rule like that:
This code doesn't give me an error, though:
The other rules work fine, though.
Is there anything special about this rule?
The text was updated successfully, but these errors were encountered: