JSXHint
JSXHint copied to clipboard
Trailing whitespace warnings when there isn't
Given the following file:
/** @jsx React.DOM */
var React = require('react')
module.exports = React.createClass({
render: function () {
return <div className="error">
<h3>{this.error.message}</h3>
</div>
}
})
jsxhint reports a trailing whitespace error on line 6
This is an issue with the react-tools package bundled with JSXHint, fixed in facebook/react#970.