Skip to content
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

Reformat everything with ormolu, add workflow to automatically fix formatting in the future #1127

Merged
merged 12 commits into from
Jan 27, 2025

Conversation

yaxu
Copy link
Member

@yaxu yaxu commented Jan 27, 2025

This reformats everything using ormolu, and adds a github action to automatically reformat future transgressions.
Hopefully this isn't too disruptive to future PRs - should just be a case of reformatting that branch, by syncing the new ci.yml with the auto-reformat, or running cabal install ormolu then running ormolu --mode inplace on your files.
Any issues, let me know!

@yaxu yaxu merged commit a4f5be6 into dev Jan 27, 2025
@yaxu yaxu deleted the run-ormolu branch January 27, 2025 17:22
@yaxu yaxu changed the title add ormolu job to check formatting Reformat everything with ormolu, add workflow to automatically fix formatting in the future Jan 27, 2025
@sss-create
Copy link
Collaborator

awesome! while i like my leading commas, overall formatting rules are a great improvement :)

yaxu added a commit that referenced this pull request Jan 28, 2025
add ormolu job to check formatting
@yaxu
Copy link
Member Author

yaxu commented Jan 28, 2025

Yes I wouldn't have made the same choices, bit good to not have to make a choice :)
I left a bit of a mess in commit history, tried to tidy it up a bit..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants