Closed
Description
opened on Jun 25, 2015
Got an error, probably some es7 case?
Cannot read property 'type' of null
TypeError: Cannot read property 'type' of null
at EventEmitter.ClassProperty (/Users/roadhump/Projects/Targetprocess/Mashups/ViewGallery/node_modules/eslint-plugin-react/lib/rules/jsx-sort-prop-types.js:64:53)
at emitOne (events.js:82:20)
at EventEmitter.emit (events.js:169:7)
at Controller.controller.traverse.enter (/Users/roadhump/Projects/Targetprocess/Mashups/ViewGallery/node_modules/eslint/lib/eslint.js:728:25)
at Controller.__execute (/Users/roadhump/Projects/Targetprocess/Mashups/ViewGallery/node_modules/eslint/node_modules/estraverse/estraverse.js:393:31)
at Controller.traverse (/Users/roadhump/Projects/Targetprocess/Mashups/ViewGallery/node_modules/eslint/node_modules/estraverse/estraverse.js:491:28)
at EventEmitter.module.exports.api.verify (/Users/roadhump/Projects/Targetprocess/Mashups/ViewGallery/node_modules/eslint/lib/eslint.js:721:24)
at processText (/Users/roadhump/Projects/Targetprocess/Mashups/ViewGallery/node_modules/eslint/lib/cli-engine.js:201:27)
at CLIEngine.executeOnText (/Users/roadhump/Projects/Targetprocess/Mashups/ViewGallery/node_modules/eslint/lib/cli-engine.js:361:26)
at Object.cli.execute (/Users/roadhump/Projects/Targetprocess/Mashups/ViewGallery/node_modules/eslint/lib/cli.js:179:70)
.babelrc
{
"stage": 0
}
Code
var React, {Component, PropTypes} = require('react');
export default class HelpTooltipsManager extends Component {
propTypes: {
dispatch: PropTypes.func.isRequired,
items: PropTypes.array.isRequired,
visibility: PropTypes.object.isRequired
}
}
Activity