diff --git a/services/web/.eslintrc.js b/services/web/.eslintrc.js index bdb71b7ee6..54e12ba70c 100644 --- a/services/web/.eslintrc.js +++ b/services/web/.eslintrc.js @@ -143,7 +143,10 @@ module.exports = { 'Mongo find returns a cursor not a promise, use `for await (const result of cursor)` or `.toArray()` instead.', }, ], - '@typescript-eslint/no-floating-promises': 'error', + '@typescript-eslint/no-floating-promises': [ + 'error', + { checkThenables: true }, + ], }, }, {