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

Added and applied scalafmt #1327

Merged
merged 5 commits into from
Mar 4, 2024
Merged

Added and applied scalafmt #1327

merged 5 commits into from
Mar 4, 2024

Conversation

hughsimpson
Copy link
Contributor

@hughsimpson hughsimpson commented Mar 2, 2024

I figured maybe it was time to format everything 😅

I've tried to pick a set of configurations that best reflect the predominant coding style across the project, although there is (inevitably!) a lot of inconsistency in the existing codebase.

As long as this pr is merged by a standard merge (rather than a squash) we should ignore the result of the initial scalafmtAll in git blame, because of the inclusion of .git-blame-ignore-revs with a reference to the relevant commit.

I've also added a linting check to the CI jobs to catch out the unwary preserve this beautiful new world.

Over to you, @ivantopo 😄

@hughsimpson hughsimpson merged commit 5327237 into master Mar 4, 2024
2 of 4 checks passed
@hughsimpson hughsimpson deleted the scalafmt branch March 4, 2024 07:29
@ivantopo
Copy link
Contributor

ivantopo commented Mar 4, 2024

Forgot to comment here besides our chat so yes! Happy to see the entire repo become consistent 😄

@Philippus
Copy link
Contributor

Maybe also add scalafmtSbt to format the *.sbt and project/*.scala files.

@Philippus Philippus mentioned this pull request Jun 17, 2024
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.

3 participants