From 93f690a7c1fc4dca3932adb4fd60a54fbe393608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Thu, 12 Oct 2023 19:40:21 +0900 Subject: [PATCH] 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 Reviewed-By: Luigi Pinca --- .eslintrc.js | 1 - 1 file changed, 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 8b462e0777c5d4..f30f63357d7117 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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',