Skip to content

Commit a1ca49b

Browse files
committed
Add ForOfStatement to no-restricted-syntax
Fixes #1122
1 parent 9c5afe5 commit a1ca49b

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ module.exports = {
219219
'no-restricted-syntax': [
220220
'error',
221221
'ForInStatement',
222+
'ForOfStatement',
222223
'LabeledStatement',
223224
'WithStatement',
224225
],

0 commit comments

Comments
 (0)