endojs / Jessie

Tiny subset of JavaScript for ocap-safe universal mobile code
Apache License 2.0
279 stars 16 forks source link

ESLint rule for non-nested first await #104

Closed michaelfig closed 1 year ago

michaelfig commented 1 year ago

This relaxes the restrictions imposed by @jessie.js/no-nested-await so that only the first await needs to be non-nested.

Also add some unit tests to better track the rule in the future.