From 0d4caee2d689923a10cb03aff4aa47608c15d0e8 Mon Sep 17 00:00:00 2001 From: sapphi-red <49056869+sapphi-red@users.noreply.github.com> Date: Tue, 10 Oct 2023 04:32:53 +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 --- .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',