Skip to content

Formatter: Allow empty line between JSX expressions #7204

@fhammerschmidt

Description

@fhammerschmidt

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions