📜  no-await-in-loop lint 错误修复 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:51.561000             🧑  作者: Mango

代码示例1
/* eslint-disable no-await-in-loop */
for (let i = 0; i <= 10; i += 1) {
  const res = await DoSomething();
}
/* eslint-enable no-await-in-loop */