You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 13, 2023. It is now read-only.
message: 'for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array.',
339
-
},
340
-
{
341
-
selector: 'ForOfStatement',
342
-
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.',
343
-
},
344
-
{
345
-
selector: 'LabeledStatement',
346
-
message: 'Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.',
347
-
},
348
-
{
349
-
selector: 'WithStatement',
350
-
message: '`with` is disallowed in strict mode because it makes code impossible to predict and optimize.',
351
-
},
352
-
],
334
+
'no-restricted-syntax': 'off',
353
335
354
336
// disallow space between function identifier and application
0 commit comments