We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cff7e5 commit a5d28a3Copy full SHA for a5d28a3
index.js
@@ -811,6 +811,11 @@ const configArray = [
811
// non-primitive data types like objects / arrays
812
// https://typescript-eslint.io/rules/restrict-template-expressions/
813
'@typescript-eslint/restrict-template-expressions': 'error',
814
+ // Warn about returning promises without `await`,
815
+ // which will result in worse stack traces
816
+ // https://typescript-eslint.io/rules/return-await/
817
+ 'no-return-await': 'off',
818
+ '@typescript-eslint/return-await': ['warn', 'always'],
819
// Allow leaving out curlies only with single-line
820
// condition blocks
821
// https://github.com/eslint/eslint/blob/master/docs/rules/curly.md#multi-line
0 commit comments