Skip to content

Commit 8a57406

Browse files
ayushi-naphadeljharb
authored andcommitted
Update packages/eslint-config-airbnb-base/rules/style.js
Co-authored-by: Jordan Harband <[email protected]> (cherry picked from commit 9034e26)
1 parent 14354b8 commit 8a57406

File tree

1 file changed

+1
-1
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+1
-1
lines changed

packages/eslint-config-airbnb-base/rules/style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ module.exports = {
345345
},
346346
{
347347
selector: 'ForOfStatement',
348-
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.',
348+
message: 'iterators/generators require regenerator-runtime in older browsers/engines, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations.',
349349
},
350350
{
351351
selector: 'LabeledStatement',

0 commit comments

Comments
 (0)