Skip to content

Commit bd5d533

Browse files
sapphi-redtargos
authored andcommitted
tools: remove no-return-await lint rule
no-return-await rule was deprecated in ESLint 8.46.0. According to the ESLint docs removing `await` can make the code slower. Refs: https://eslint.org/docs/latest/rules/no-return-await PR-URL: #50118 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 214997a commit bd5d533

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.eslintrc.js

-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ module.exports = {
256256
message: 'Use `globalThis.crypto`.',
257257
},
258258
],
259-
'no-return-await': 'error',
260259
'no-self-compare': 'error',
261260
'no-tabs': 'error',
262261
'no-template-curly-in-string': 'error',

0 commit comments

Comments
 (0)