-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
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
Format with ormolu #549
Format with ormolu #549
Conversation
b067dae
to
7d1fdaf
Compare
7d1fdaf
to
9c6f368
Compare
Could we have this checked in CI/precommit of some kind? |
Also, why the preference of |
it sounds like a good idea! i'm not quite sure what you mean. could you elaborate? |
ah! the end goal was to format with ormolu but they way it rendered (longer lists) with |
maybe you mean, a CI job that builds ghc-lib from the current GHC HEAD commit? we can do that. it's implemented as |
Hi Shayne. I think what @samuel-williams-da means is we could have a pre-commit hook that runs the formatter, and we could have a CI tasks that fails if the code is not formatted. |
i see. yes, that would be good. |
Paul is correct, it should be relatively easy to add as a job. |
yes, it's easy. similarly we should reintroduce hlint. can these things be done in a later PR though please? |
Sure I'm okay with that |
prefer
join
over++
and format with ormolu.