-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Labels
lang:javascriptIssues affecting JSIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:needs discussionIssues needing discussion and a decision to be made before action can be takenIssues needing discussion and a decision to be made before action can be taken
Description
Edit: I will no longer be actively participating in this thread - my reasons are explained in comment below.
Hello,
there are many - including me thinking that change to nested ternary is not best decision.
I know there is some reasoning why nested ternary indent was removed, but it's much harder to read code now.
At least would be good to have option to remain nice formatting (from previous prettier version) - formatting of ternaries with indent and not under each other like:
condition
? a
: b
? c
: d
instead much easier to understand and read is:
condition
? a
: b
? c
: d
ilyadoroshin, jwbay, jkearse3, lionelB, alexander-akait and 678 moreTallOrderDev, alex2, Hoishin, rtorr, timonwong and 22 moreandrewzey, capaj, manjunatha-d, truchi, TwilightOwl and 37 moreandrewzey, capaj, manjunatha-d, gabimoncha, askuzminov and 74 moreandrewzey, capaj, manjunatha-d, xbill82, TwilightOwl and 41 morehverlin, dwiyatci, brainkim, TwilightOwl, leodutra and 24 more
Metadata
Metadata
Assignees
Labels
lang:javascriptIssues affecting JSIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:needs discussionIssues needing discussion and a decision to be made before action can be takenIssues needing discussion and a decision to be made before action can be taken