Closed alinz closed 8 years ago
const Foobar = (props) => { return ( <button onClick={() => console.log('click')}> </button> ) }
transforms into
const Foobar = (props) => { return ( <button onClick={;() => console.log('click')}> </button> ) }
I undrestand that having ; before function makes it safe when it minfies, but in this case, we don't need it.
;
just released esformatter-semicolon-first@1.2.0 with the fix!
esformatter-semicolon-first@1.2.0
Nice, closing this now.
transforms into
I undrestand that having
;
before function makes it safe when it minfies, but in this case, we don't need it.