chore: enable 'return-await` (#10832)

This commit is contained in:
jrandolf
2023-09-01 09:49:33 +02:00
committed by GitHub
parent 25db3f1188
commit 7e74439c51
35 changed files with 112 additions and 106 deletions

View File

@@ -218,6 +218,8 @@ module.exports = {
{ignoreVoid: true, ignoreIIFE: true},
],
'@typescript-eslint/prefer-ts-expect-error': 'error',
// This is more performant; see https://v8.dev/blog/fast-async.
'@typescript-eslint/return-await': ['error', 'always'],
},
overrides: [
{