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 has been archived by the owner on Aug 18, 2021. It is now read-only.
Just tried updating my version of babel-eslint to v10(using eslint v5.6) and received an error of which I'm unsure how to get around.
Cannot read property 'range' of null
TypeError: Cannot read property 'range' of null
at SourceCode.getTokenBefore (...node_modules/eslint/lib/token-store/index.js:303:18)
at checkFunction (...node_modules/eslint/lib/rules/space-before-function-paren.js:117:42)
at listeners.(anonymous function).forEach.listener (...node_modules/eslint/lib/util/safe-emitter.js:45:58)
at Array.forEach (<anonymous>)
at Object.emit (...node_modules/eslint/lib/util/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (...node_modules/eslint/lib/util/node-event-generator.js:251:26)
at NodeEventGenerator.applySelectors (...node_modules/eslint/lib/util/node-event-generator.js:280:22)
at NodeEventGenerator.enterNode (...node_modules/eslint/lib/util/node-event-generator.js:294:14)
at CodePathAnalyzer.enterNode (...node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js:632:23)
at nodeQueue.forEach.traversalInfo (...node_modules/eslint/lib/linter.js:860:28)
Just tried updating my version of babel-eslint to
v10
(using eslintv5.6
) and received an error of which I'm unsure how to get around.My eslint config:
The text was updated successfully, but these errors were encountered: