refactor(formatter): Remove unused multiline comment check in ternary#16230
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Performance ReportMerging #16230 will not alter performanceComparing Summary
Footnotes
|
Merge activity
|
…#16230) Follow up #16224 > - Biome > - The same logic still exists > - https://github.com/biomejs/biome/blob/e7e0f6c14df92d83d08f86b1e57fc82b4df775b7/crates/biome_js_formatter/src/utils/conditional.rs#L197 > - In either case, the test did not fail > - always returning `false` > - removing related code like our diff above > - Prettier > - The most relevant lines are here > - https://github.com/prettier/prettier/blob/fd69335e513232c9b7aad78c93b42d8d3dd00ae7/src/language-js/print/ternary-old.js#L326-L344 > - As you expected, if change this to `const shouldBreak = false`, the test did not fail! From #16224 (comment)
b2bfa61 to
ac3a92e
Compare
1a47fed to
03f5729
Compare
…oxc-project#16230) Follow up oxc-project#16224 > - Biome > - The same logic still exists > - https://github.com/biomejs/biome/blob/e7e0f6c14df92d83d08f86b1e57fc82b4df775b7/crates/biome_js_formatter/src/utils/conditional.rs#L197 > - In either case, the test did not fail > - always returning `false` > - removing related code like our diff above > - Prettier > - The most relevant lines are here > - https://github.com/prettier/prettier/blob/fd69335e513232c9b7aad78c93b42d8d3dd00ae7/src/language-js/print/ternary-old.js#L326-L344 > - As you expected, if change this to `const shouldBreak = false`, the test did not fail! From oxc-project#16224 (comment)

Follow up #16224
From #16224 (comment)