Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit 71f3e59

Browse files
authored
fix: match return-await behavior to airbnb-base (#279)
1 parent d30b7d2 commit 71f3e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/shared.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ module.exports = {
208208
// Replace Airbnb 'no-return-await' rule with '@typescript-eslint' version
209209
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/return-await.md
210210
'no-return-await': 'off',
211-
'@typescript-eslint/return-await': baseBestPracticesRules['no-return-await'],
211+
'@typescript-eslint/return-await': [baseBestPracticesRules['no-return-await'], 'never'],
212212

213213
// Replace Airbnb 'space-infix-ops' rule with '@typescript-eslint' version
214214
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-infix-ops.md

0 commit comments

Comments
 (0)