From 27d1b79f878d6177fef31571288009931ad1640d Mon Sep 17 00:00:00 2001 From: Kalin K Date: Tue, 9 Aug 2022 14:51:43 +0300 Subject: [PATCH] Add 'no-return-await' rule to eslint --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 5c1c881c9e..7bade7be4b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -49,6 +49,7 @@ module.exports = { 'no-multi-spaces': ['error'], 'no-multiple-empty-lines': ['error', { 'max': 1 }], 'no-restricted-globals': ['error'].concat(restrictedGlobals), + 'no-return-await': ['error'], 'no-trailing-spaces': ['error'], '@babel/no-unused-expressions': ['error', { 'allowShortCircuit': true, 'allowTernary': true, 'allowTaggedTemplates': true }], 'no-void': ['error', { 'allowAsStatement': true }],