title: Unexpected `await` inside a loop. (no-await-in-loop)
body: <p>How Should I await for <code>bot.sendMessage()</code> inside of loop?<br />
  Maybe I Need <code>await Promise.all</code> But I Don't Know How Should I add to <code>bot.sendMessage()</code></p>
  <p><strong>Code:</strong></p>
  <pre><code>const promise = query.exec();
  promise.then(async (doc) =&gt; {
      let count = 0;
      for (const val of Object.values(doc)) {
          ++count;
          await bot.sendMessage(msg.chat.id, ` ${count} and ${val.text}`, opts);
      }
  }).catch((err) =&gt; {
      if (err) {
          console.log(err);
      }
  });
  </code></pre>
  <p><strong>Error:</strong></p>
  <pre><code>[eslint] Unexpected `await` inside a loop. (no-await-in-loop)
  </code></pre>