diff --git a/packages/eslint-config/eslintrc.js b/packages/eslint-config/eslintrc.js index b4a7cd369159..dd9586bad7ff 100644 --- a/packages/eslint-config/eslintrc.js +++ b/packages/eslint-config/eslintrc.js @@ -56,6 +56,10 @@ module.exports = { // TypeScript allows the same name for namespace and function 'no-redeclare': 'off', + // Avoid promise rewrapping + // https://exploringjs.com/es2016-es2017/ch_async-functions.html#_returned-promises-are-not-wrapped + 'no-return-await': 'error', + /** * Rules imported from eslint-config-loopback */