-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add fourmolu, cabal-gild, and update hooks #835
Conversation
518aa89
to
3466978
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If those are the same changes as in IntersectMBO/cardano-api#583 I'm ok with them. I'm blocking merge temporarily to test drive them in cardano-api a bit before we propagate the changes to CLI.
@carbolymer: Makes sense. Until when do you think we should wait? |
Co-authored-by: Clément Hurlin <[email protected]>
Changelog
Context
We don't want to have to worry about formatting
.hs
or.cabal
files, and we want to be consistent. This PR tries to address this by establishing and enforcing strong formatters (formoulu
, andcabal-gild
), which are now applied in addition tostylish-haskell
andhlint
.How to trust this PR
Probably check that the hook works for you. Also that you are happy with the changes and configuration, and that the CI passes. Probably look at each commit independently.
Checklist