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
TypeError: Cannot read property 'name' of undefined
at c:\Projects\my-project\node_modules\eslint-plugin-react\lib\rules\style-prop-object.js:51:34
at Array.find (native)
at EventEmitter.CallExpression (c:\Projects\my-project\node_modules\eslint-plugin-react\lib\rules\style-prop-object.js:50:54)
at emitOne (events.js:95:20)
at EventEmitter.emit (events.js:182:7)
at NodeEventGenerator.enterNode (c:\Projects\my-project\node_modules\eslint\lib\util\node-event-generator.js:40:22)
at CodePathAnalyzer.enterNode (c:\Projects\my-project\node_modules\eslint\lib\code-path-analysis\code-path-analyzer.js:608:23)
at CommentEventGenerator.enterNode (c:\Projects\my-project\node_modules\eslint\lib\util\comment-event-generator.js:97:23)
at Controller.enter (c:\Projects\my-project\node_modules\eslint\lib\eslint.js:915:36)
at Controller.__execute (c:\Projects\my-project\node_modules\eslint\node_modules\estraverse\estraverse.js:397:31)
Culprit is the rest spread syntax, removing ...props avoids the exception.
The text was updated successfully, but these errors were encountered:
Using v6.2.0.
The following syntax:
is throwing the following exception:
Culprit is the rest spread syntax, removing
...props
avoids the exception.The text was updated successfully, but these errors were encountered: