-
Notifications
You must be signed in to change notification settings - Fork 1
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
scalafmt config more close to scala style guide #88
Conversation
@@ -3,7 +3,7 @@ runner.dialect = scala212 | |||
|
|||
maxColumn = 120 | |||
|
|||
align.preset = some | |||
align.preset = none |
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.
I quite liked some
here, but I'd like to hear your opinion on this one (i.e. why none
? )
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.
It definitely may look nice in some instances, but it creates unnecessary changes in diff. It also may create lines longer than the limit, where it would not happen without it.
Those are not huge issues, so I am ok using 'some' if you think it's worth it.
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.
let's go with none then and we'll see if we need to change it back 👍
align.openParenCallSite = true | ||
|
||
align.openParenDefnSite = false | ||
align.openParenCallSite = false |
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.
Nice, it works, I just tested it & I like it
JaCoCo agent module code coverage report - spark:2 - scala 2.12.12
|
JaCoCo server module code coverage report - scala 2.12.12
|
No description provided.