Skip to content

Commit 02da660

Browse files
authored
Updated style.js for airbnb#2428
1 parent 7fdc87a commit 02da660

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ module.exports = {
338338
},
339339
{
340340
selector: 'ForOfStatement',
341-
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.',
341+
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.',
342342
},
343343
{
344344
selector: 'LabeledStatement',

0 commit comments

Comments
 (0)