-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
In our codebase we use quite a bit of this type of if/else rendering:
{
condition
? <div>
<div> something </div>
</div>
: <div>
<div> something </div>
</div>
}Whatever indentation I try I always seem to get a jsx-indent error. Is there a way to format this without the linter complaining?
davidmason, preco21, billyjanitsch, nwoltman, IanVS and 1 more