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
Cannot read property 'name' of undefined
TypeError: Cannot read property 'name' of undefined
at getPropertyName (/home/mandx/Work/test-project/node_modules/eslint-plugin-react/lib/rules/sort-comp.js:157:20)
at /home/mandx/Work/test-project/node_modules/eslint-plugin-react/lib/rules/sort-comp.js:324:15
at Array.map (native)
at checkPropsOrder (/home/mandx/Work/test-project/node_modules/eslint-plugin-react/lib/rules/sort-comp.js:322:38)
at EventEmitter.Program:exit (/home/mandx/Work/test-project/node_modules/eslint-plugin-react/lib/rules/sort-comp.js:374:9)
at emitOne (events.js:95:20)
at EventEmitter.emit (events.js:182:7)
at NodeEventGenerator.leaveNode (/home/mandx/Work/test-project/node_modules/eslint/lib/util/node-event-generator.js:49:22)
at CodePathAnalyzer.leaveNode (/home/mandx/Work/test-project/node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js:627:23)
at CommentEventGenerator.leaveNode (/home/mandx/Work/test-project/node_modules/eslint/lib/util/comment-event-generator.js:110:23)
Eslint command line (called by SublimeLinter-eslint):
The text was updated successfully, but these errors were encountered:
mandx
changed the title
Esling crashes when using the object spread operator and React.createClass
Eslint crashes when using the object spread operator and React.createClassJun 6, 2016
Test file
Output:
Eslint command line (called by SublimeLinter-eslint):
.eslintrc
file:.babelrc
file:The text was updated successfully, but these errors were encountered: