millermedeiros / esformatter

ECMAScript code beautifier/formatter
MIT License
970 stars 91 forks source link

The indent of the end of the brackets is error ? I hope it align the 'return' #484

Open feibi opened 7 years ago

feibi commented 7 years ago

before

const Example = () => {
  return (
    <div>
      Example
    </div>
  );// notice the brackets's  position 
};

after

const Example = () => {
  return (
    <div>
      Example
    </div>
    ); // notice the brackets's  position 
};