-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Implement scalafmt #2546
Implement scalafmt #2546
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2546 +/- ##
=======================================
Coverage 95.17% 95.17%
=======================================
Files 359 359
Lines 6555 6555
Branches 273 273
=======================================
Hits 6239 6239
Misses 316 316
Continue to review full report at Codecov.
|
I don't think the codecov/patch failure is relevant. There's perhaps some additions to the CONTRIBUTING.md or something that should go along with this. Any thoughts? |
@@ -0,0 +1 @@ | |||
// default settings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, someone has to start the bikeshedding, so here goes:
I'd like to see
align=none
maxColumn = 120
The rest of the default settings I think are good :)
I've pushed another commit applying @LukaJCB's bikeshed suggestions. Both seem reasonable. I like alignment, but for a larger project it will create diff noise that may be less than desirable. 120 columns is a reasonable max in the modern world, although I'd say the "style guide" should recommend 80. |
Awesome, @easel! Thanks a bunch. This looks good to me, but... how is it such a small changeset? I would expect it to touch a ton of lines. Is it actually running on all of the modules? |
The only changes are in the |
@ceedubs Thats an interesting possibility, the cats cross build stuff is definitely beyond the basics. From my perspective if we can bikeshed out the settings it would be best to just get this merged and then work on applying it to any missing submodules as we can. That way the settings are documented and people can use them on their own. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I mentioned in a comment, I think that the JVM/JS cross-building is causing most modules to not be picked up, but this still seems like strictly an improvement, so 👍 from me.
@@ -0,0 +1,3 @@ | |||
// default settings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this comment // default settings
?
shall we close this since #2562 is merged? |
Resolves #1206 and replaces #1731