Add ForOfStatement to no-restricted-syntax

Fixes #1122
This commit is contained in:
Simen Bekkhus
2016-10-17 08:04:38 +02:00
parent 9c5afe5809
commit a1ca49b34c

View File

@@ -219,6 +219,7 @@ module.exports = {
'no-restricted-syntax': [
'error',
'ForInStatement',
'ForOfStatement',
'LabeledStatement',
'WithStatement',
],