The formatter allows one empty line between expressions, but not in JSX. Here is a forum post which makes a case for relaxing the rules a bit: https://forum.rescript-lang.org/t/adding-custom-code-formatting/1834/11 We should consider it, even if only to make the rules more consistent.