From d293fa31cd459f775d788f95a66bbc89282333fa Mon Sep 17 00:00:00 2001 From: Jesse Attas Date: Fri, 20 Sep 2024 16:02:50 -0500 Subject: [PATCH] Comment in config file for require-await --- packages/eslint-config-javascript/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/eslint-config-javascript/index.js b/packages/eslint-config-javascript/index.js index fcaf5a5..dc78110 100644 --- a/packages/eslint-config-javascript/index.js +++ b/packages/eslint-config-javascript/index.js @@ -429,6 +429,9 @@ module.exports = { */ 'prefer-regex-literals': 'error', + /* + Asynchronous functions that don’t use await might not need to be asynchronous functions and could be the unintentional result of refactoring. + */ 'require-await': 'error', /*