Rule: await-promise

Warns for an awaited value that is not a Promise.

Notes:

Config

A list of ‘string’ names of any additional classes that should also be handled as Promises.

Examples
"await-promise": true
"await-promise": [true, "Thenable"]
Schema
{
  "type": "list",
  "listType": {
    "type": "array",
    "items": {
      "type": "string"
    }
  }
}