You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just started with Reason React and it's a really nice experience so far!
But one thing keeps bothering me, which is refmt's behaviour towards empty-lines.
For example, if I put a react component into a module, refmt force-removes all new-lines, so that I end up with a large, dense, hard to read code block:
In this regard I really like the default behaviour of yapf (a popular Python code formatter). In general yapf simply allows you to add a single empty-line wherever you like, but it would reduce two and more empty-lines to one. This works really well.
Any love for this?
If I'm missing something, please excuse me for bothering!
The text was updated successfully, but these errors were encountered:
Hi there!
I just started with Reason React and it's a really nice experience so far!
But one thing keeps bothering me, which is refmt's behaviour towards empty-lines.
For example, if I put a react component into a
module
, refmt force-removes all new-lines, so that I end up with a large, dense, hard to read code block:The same code with empty-lines:
In this regard I really like the default behaviour of yapf (a popular Python code formatter). In general yapf simply allows you to add a single empty-line wherever you like, but it would reduce two and more empty-lines to one. This works really well.
Any love for this?
If I'm missing something, please excuse me for bothering!
The text was updated successfully, but these errors were encountered: