If @biomejs.dev were to add flat ternaries, especially using the "early return style" proposed by @pedrocattori.com, I'd switch immediately.
https://github.com/biomejs/biome/discussions/2388 and https://pedrocattori.dev/blog/ternaries-could-be-beautiful
https://github.com/biomejs/biome/discussions/2388 and https://pedrocattori.dev/blog/ternaries-could-be-beautiful
Comments