diff --git a/lib/shared.js b/lib/shared.js index 62b21e1..08e35b5 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'], 'never'], + '@typescript-eslint/return-await': [baseBestPracticesRules['no-return-await'], 'in-try-catch'], // 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