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

Disable "respectsExistingLineBreaks" in .swift-format for more consistent styling #346

Conversation

PARAIPAN9
Copy link
Contributor

Motivation

Modifications

  • Disable respectsExistingLineBreaks .swift-format rule and address changes requested

Result

  • One of the .swift-format rules will be disabled

Test Plan

  • Run Tests

@PARAIPAN9
Copy link
Contributor Author

I had to revert the changes from the previous PR because there were too many conflicts. I've been waiting for the PR section to be empty.

Copy link
Collaborator

@czechboy0 czechboy0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just two comments, otherwise looks great, thank you @PARAIPAN9!

If you have more time, it'd be great to apply the same change to the other 3 repos, we want to keep all 4 consistent.

@czechboy0
Copy link
Collaborator

Still seems the symlink got changed, unless github is slow to refresh the diff.

@PARAIPAN9
Copy link
Contributor Author

Yes, I see...

@czechboy0
Copy link
Collaborator

Please make sure you're running swift-format 5.9, as the CI is disagreeing on the formatting.

@PARAIPAN9
Copy link
Contributor Author

PARAIPAN9 commented Oct 25, 2023

I was on -v 5.8, I've just updated to the latest version and addressed the complaints.

@czechboy0 czechboy0 merged commit 69eb1a2 into apple:main Oct 25, 2023
8 checks passed
@czechboy0
Copy link
Collaborator

Great, thank you @PARAIPAN9! I think the other 3 repos will be easier 🙂

@PARAIPAN9
Copy link
Contributor Author

You're welcome, I'm pretty sure too 😄.

@czechboy0 czechboy0 added the semver/none No version bump required. label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable "respectsExistingLineBreaks" in .swift-format for more consistent styling
2 participants