[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32158: 26.1; Broken JSX indentation in case of arrow function passin
From: |
Dmitry Gutov |
Subject: |
bug#32158: 26.1; Broken JSX indentation in case of arrow function passing to props |
Date: |
Wed, 5 Jun 2019 13:58:09 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
On 05.06.2019 6:19, Jackson Ray Hamilton wrote:
A set of changes I pushed to the Emacs master branch 2 months ago should
resolve this issue. (First fixed in 1a1ef28518, but there were several
commits after that when I broke/fixed it again. The master branch is
your best bet.)
Jackson, here's a slight variation on this example that looks problematic:
const foo = (props) => (
<div>
<input
cat={i => i} />
</div>
);
(Note the empty line)
That seems incorrect to me.