JSXHint icon indicating copy to clipboard operation
JSXHint copied to clipboard

Trailing whitespace warnings when there isn't

Open grncdr opened this issue 12 years ago • 1 comments

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

grncdr avatar Jan 16 '14 04:01 grncdr

This is an issue with the react-tools package bundled with JSXHint, fixed in facebook/react#970.

cmwelsh avatar Mar 28 '14 20:03 cmwelsh