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
With the react/no-adjacent-inline-elements rule enabled, ESLint crashes on the following: React.createElement("div", null, "Hello").
Stacktrace
TypeError: Cannot read property 'length' of undefined
Occurred while linting /path/to/here/case.js:4
at validate (/path/to/here/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js:87:36)
at CallExpression (/path/to/here/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js:111:9)
at /path/to/here/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/path/to/here/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/path/to/here/node_modules/eslint/lib/linter/node-event-generator.js:254:26)
at NodeEventGenerator.applySelectors (/path/to/here/node_modules/eslint/lib/linter/node-event-generator.js:283:22)
at NodeEventGenerator.enterNode (/path/to/here/node_modules/eslint/lib/linter/node-event-generator.js:297:14)
at CodePathAnalyzer.enterNode (/path/to/here/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:634:23)
at /path/to/here/node_modules/eslint/lib/linter/linter.js:936:32
With the
react/no-adjacent-inline-elements
rule enabled, ESLint crashes on the following:React.createElement("div", null, "Hello")
.Stacktrace
Small gist to reproduce the issue
The text was updated successfully, but these errors were encountered: