mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
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: https://github.com/nodejs/node/pull/50118 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
214997a99e
commit
bd5d5331b0
1 file changed
-1
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user