felipeochoa / rjsx-mode

A JSX major mode for Emacs
https://github.com/felipeochoa/rjsx-mode
MIT License
641 stars 32 forks source link

[BUG] Indentation issue inside tag. #123

Open jcs090218 opened 4 years ago

jcs090218 commented 4 years ago

There is an indentation issue with this peace of code and it doesn't appear in js2-jsx-mode!


class App extends React.Component {
  render() {
    return (
      <React.Fragment>
        <NavBar />
        <main className="container">
        <Counters />
        </main>
      </React.Fragment>
    );
  }
}

export default App;