kamon-io / Kamon

Distributed Tracing, Metrics and Context Propagation for applications running on the JVM
https://kamon.io
Other
1.41k stars 328 forks source link

Added and applied scalafmt #1327

Closed hughsimpson closed 8 months ago

hughsimpson commented 8 months ago

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 😄

ivantopo commented 8 months ago

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

Philippus commented 5 months ago

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