From 02da6605113269f38720d28b53517a481f49bfd5 Mon Sep 17 00:00:00 2001 From: AyushiN <36621150+ANaphade@users.noreply.github.com> Date: Sun, 22 May 2022 12:13:06 +0530 Subject: [PATCH] Updated style.js for #2428 --- packages/eslint-config-airbnb-base/rules/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-airbnb-base/rules/style.js b/packages/eslint-config-airbnb-base/rules/style.js index 4fad26be00..3825e4da40 100644 --- a/packages/eslint-config-airbnb-base/rules/style.js +++ b/packages/eslint-config-airbnb-base/rules/style.js @@ -338,7 +338,7 @@ module.exports = { }, { selector: 'ForOfStatement', - message: 'iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations.', + message: 'iterators/generators may require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, imperative loops should be avoided in favor of array iterations.', }, { selector: 'LabeledStatement',