Skip to content

Improve formatting of export list with module warning#244

Merged
brandonchinn178 merged 3 commits intomainfrom
module-deprecation
Nov 7, 2022
Merged

Improve formatting of export list with module warning#244
brandonchinn178 merged 3 commits intomainfrom
module-deprecation

Conversation

@brandonchinn178
Copy link
Copy Markdown
Collaborator

@brandonchinn178 brandonchinn178 commented Oct 28, 2022

Trying to align closer to what Ormolu does here, which should also help with #167

Blocks #245

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 28, 2022

👋 @brandonchinn178
Thank you for raising your pull request.
Please make sure you have followed our contributing guidelines in DEVELOPER.md. We will review it as soon as possible!

Reviewer: Please verify the following things have been done, if applicable.

  • A file has been added to changelog.d/
  • "Configuration > Available options" section in README.md has been updated
  • "Configuration > Specifying configuration" section in README.md has been updated
  • fourmolu.yaml updated to stay in sync with config in README.md
  • Tests have been added

@georgefst
Copy link
Copy Markdown
Collaborator

Looks good, but I'm struggling to work out why the commits here are split up as they are. Presumably commit 3 is the implementation that causes the output changes in commit 2? So why aren't they squashed together?

@brandonchinn178
Copy link
Copy Markdown
Collaborator Author

ah I was doing TDD, so I fixed the output first to get a test failure, then I just had to experiment in the third commit to make it pass. I can squash them now if you want

@georgefst
Copy link
Copy Markdown
Collaborator

Fair enough. It's not my preferred approach but I don't really care.

@brandonchinn178 brandonchinn178 merged commit db6755a into main Nov 7, 2022
@brandonchinn178 brandonchinn178 deleted the module-deprecation branch November 7, 2022 23:21
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