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

SortSettings: implement the styleGuide preset #3797

Merged
merged 2 commits into from
Feb 23, 2024

Conversation

kitbellew
Copy link
Collaborator

Fixes #3788.


```scala mdoc:scalafmt
rewrite.rules = [SortModifiers]
rewrite.sortModifiers.preset = styleGuide
Copy link
Contributor

Choose a reason for hiding this comment

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

Would probably be awesome to have this as a global style that would setup up most needed things. Just random thought

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

hmm... i don't know what that entails, to be honest. the style guide hasn't been updated or maintained in a while, but i am happy to let someone who feels strongly about this, to take a stab.

@kitbellew kitbellew merged commit 7296c14 into scalameta:master Feb 23, 2024
9 checks passed
@kitbellew kitbellew deleted the 3788 branch February 23, 2024 20:26
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.

SortModifiers does not follow Scala style guide
2 participants