Skip to content

Commit

Permalink
tools: remove no-return-await lint rule
Browse files Browse the repository at this point in the history
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 <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
sapphi-red committed Oct 12, 2023
1 parent 7ed50e5 commit 760b5dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .eslintrc.js
Expand Up @@ -256,7 +256,6 @@ module.exports = {
message: 'Use `globalThis.crypto`.',
},
],
'no-return-await': 'error',
'no-self-compare': 'error',
'no-tabs': 'error',
'no-template-curly-in-string': 'error',
Expand Down

0 comments on commit 760b5dd

Please sign in to comment.