-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Format false branch of ternary operation #5905
Conversation
Sorry this didn't get looked at @saschanaz. @vladima @mhegazy should this change have been behind a flag? My feeling is that some people might want cascading ternaries. |
sorry for the super late response. doing a quick poll, this seems a fairly subjective issue. some like their ternaries cascading, others like them on the same level. this calls for a new formatting option :) |
Okay, that's fine 👍 |
What's wrong with the Linter? :/ |
Opened #13006 for linter error. |
af2e7d0
to
8391c9e
Compare
Just a note: the new option is now added :D |
Rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just the change to server\protocol.ts and we should be good to go. sorry for the looooooong delay.
Renamed the option name from PS: Why can't I add 😄 to the PR approval 🤔 |
Thanks for your contribution. This PR has not been updated in a while and cannot be automatically merged at the time being. For housekeeping purposes we are closing stale PRs. If you'd still like to continue working on this PR, please leave a message and one of the maintainers can reopen it. |
This PR includes #4757(#4757 is now merged 👍)Fixes #3676.
Current:
Fixed: