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

Tweak formatting rules for attributes #492

Merged
merged 5 commits into from
May 31, 2022
Merged

Conversation

MaxDesiatov
Copy link
Collaborator

The abundance of @_spi(TokamakCore) makes it harder to parse some of our code visually when skimming. I propose consistently moving attributes on declarations to separate lines. Here's an update to .swiftformat config with the new settings applied to the codebase.

@MaxDesiatov MaxDesiatov added the refactor No user-visible functionality change label May 30, 2022
@MaxDesiatov MaxDesiatov requested a review from a team May 30, 2022 19:15
@MaxDesiatov MaxDesiatov changed the title Tweak formatting rules Tweak formatting rules for attributes May 30, 2022
@MaxDesiatov MaxDesiatov enabled auto-merge (squash) May 30, 2022 19:55
@MaxDesiatov MaxDesiatov disabled auto-merge May 30, 2022 20:15
@MaxDesiatov MaxDesiatov merged commit 9db23c9 into main May 31, 2022
@MaxDesiatov MaxDesiatov deleted the maxd/tweak-formatting branch May 31, 2022 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor No user-visible functionality change
Development

Successfully merging this pull request may close these issues.

2 participants