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

parentheses after return statement have incorrect indentation #268

Closed
arielelkin opened this issue Jun 8, 2016 · 2 comments
Closed

parentheses after return statement have incorrect indentation #268

arielelkin opened this issue Jun 8, 2016 · 2 comments

Comments

@arielelkin
Copy link

Here's the first code snippet at http://facebook.github.io/react/docs/tutorial.html

// tutorial1.js
var CommentBox = React.createClass({
  render: function() {
    return (
      <div className="commentBox">
        Hello, world! I am a CommentBox.
      </div>
    );
  }
});
ReactDOM.render(
  <CommentBox />,
  document.getElementById('content')
);

In Sublime Text:

var CommentBox = React.createClass({
    render: function() {
        return (
            <div className="commentBox">
            Hello, world! I am a CommentBox.
            </div>
            );
    }
});
@zertosh
Copy link
Member

zertosh commented Nov 28, 2016

I'll be fixing the indentation issue in the rewrite tracked in #293.

@zertosh zertosh closed this as completed Nov 28, 2016
@dewbjorn
Copy link

dewbjorn commented Mar 5, 2017

Still waiting for this one.

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

3 participants