We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One of the stated goals is "The formatting style aims to result in minimal diffs", but imports do not meet this goal.
From
import Utils ( funcB, funcC, )
to
import Utils ( funcA, funcB, funcC, )
it's one line of changed code.
However, using Ormolu's style, it's 2 lines of changed code:
The text was updated successfully, but these errors were encountered:
FWIW you also get the same issue when appending to a list or record:
x = [ 1, - 2 + 2, + 3 ] person = Person { name = "Alice", - age = 1 + age = 1, + something = True }
This is one of the reasons I prefer Fourmolu's default configuration, because all three of these are more diff friendly with Fourmolu
Sorry, something went wrong.
No branches or pull requests
One of the stated goals is "The formatting style aims to result in minimal diffs", but imports do not meet this goal.
From
to
it's one line of changed code.
However, using Ormolu's style, it's 2 lines of changed code:
to
The text was updated successfully, but these errors were encountered: