From 099e89d6825986394743dfca49911d7a310f27bc Mon Sep 17 00:00:00 2001 From: Eric Struhl <6519009+lotap@users.noreply.github.com> Date: Wed, 9 Mar 2022 14:37:09 -0700 Subject: [PATCH] match return-await behavior to airbnb-base --- lib/shared.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shared.js b/lib/shared.js index 1eed483..62b21e1 100644 --- a/lib/shared.js +++ b/lib/shared.js @@ -208,7 +208,7 @@ module.exports = { // Replace Airbnb 'no-return-await' rule with '@typescript-eslint' version // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/return-await.md 'no-return-await': 'off', - '@typescript-eslint/return-await': baseBestPracticesRules['no-return-await'], + '@typescript-eslint/return-await': [baseBestPracticesRules['no-return-await'], 'never'], // Replace Airbnb 'space-infix-ops' rule with '@typescript-eslint' version // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-infix-ops.md