Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trailing whitespace warnings when there isn't #13

Open
grncdr opened this issue Jan 16, 2014 · 1 comment
Open

Trailing whitespace warnings when there isn't #13

grncdr opened this issue Jan 16, 2014 · 1 comment

Comments

@grncdr
Copy link

grncdr commented Jan 16, 2014

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

@cmwelsh
Copy link

cmwelsh commented Mar 28, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants