On Mon, Feb 12, 2018 at 10:28 AM, Александр Ефремов <mr.ef...@gmail.com> wrote:
> Hm, yes, you are right. > That’s https://eslint.org/docs/rules/require-await > Thank you very much. > In the next I will be more dig. > That just warns you if you've made a function `async` pointlessly (which may or may not be because you forgot an `await`). It won't help you if you have at least one `await` but have forgotten *others*. Static analysis (such as done by ESLint) cannot perfectly solve the problem you and Steven Mascaro are trying to solve: Forgetting `await`s in all necessary locations in an `async` function. -- T.J. Crowder
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss