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 Aug 18, 2021. It is now read-only.
just updated babel-eslint v9.0 to v10.0, and got the following after running eslint:
statements is not iterable
TypeError: statements is not iterable
at Object.getDirectivePrologue (/project/node_modules/eslint/lib/util/ast-utils.js:975:37)
at checkDirectives (/project/node_modules/eslint/lib/rules/lines-around-directive.js:131:41)
at listeners.(anonymous function).forEach.listener (/project/node_modules/eslint/lib/util/safe-emitter.js:45:58)
at Array.forEach (<anonymous>)
at Object.emit (/project/node_modules/eslint/lib/util/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/project/node_modules/eslint/lib/util/node-event-generator.js:251:26)
at NodeEventGenerator.applySelectors (/project/node_modules/eslint/lib/util/node-event-generator.js:280:22)
at NodeEventGenerator.enterNode (/project/node_modules/eslint/lib/util/node-event-generator.js:294:14)
at CodePathAnalyzer.enterNode (/project/node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js:632:23)
at nodeQueue.forEach.traversalInfo (/project/node_modules/eslint/lib/linter.js:860:28)
I haven't found time yet to look into the issue more closely, but thought I'd go ahead and report it nonetheless already.
eslint: v5.6.0node: v10.11.0just updated
babel-eslint v9.0tov10.0, and got the following after runningeslint:statements is not iterable TypeError: statements is not iterable at Object.getDirectivePrologue (/project/node_modules/eslint/lib/util/ast-utils.js:975:37) at checkDirectives (/project/node_modules/eslint/lib/rules/lines-around-directive.js:131:41) at listeners.(anonymous function).forEach.listener (/project/node_modules/eslint/lib/util/safe-emitter.js:45:58) at Array.forEach (<anonymous>) at Object.emit (/project/node_modules/eslint/lib/util/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/project/node_modules/eslint/lib/util/node-event-generator.js:251:26) at NodeEventGenerator.applySelectors (/project/node_modules/eslint/lib/util/node-event-generator.js:280:22) at NodeEventGenerator.enterNode (/project/node_modules/eslint/lib/util/node-event-generator.js:294:14) at CodePathAnalyzer.enterNode (/project/node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js:632:23) at nodeQueue.forEach.traversalInfo (/project/node_modules/eslint/lib/linter.js:860:28)I haven't found time yet to look into the issue more closely, but thought I'd go ahead and report it nonetheless already.