Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Conversation

@joan38
Copy link
Contributor

@joan38 joan38 commented Apr 26, 2018

The formatting config is in the .scalafmt.conf file.
I put by default the one I usually use but I have no strong preferences so please feel free to experiment with the doc http://scalafmt.org and let me know what config you'd like.

scalafmt and Test/scalafmt task to reformat, scalafmtSbt to reformat SBT files.
Also Scalafmt has a task key scalafmtCheck and scalafmtSbtCheck that lets you check if the formatting is good, it would be cool to enable that on CI to avoid having formatting changes from the previous PR into the following one.

People using Intellij can also install the Scalafmt plugin that format code on save (pretty handy).

@joan38
Copy link
Contributor Author

joan38 commented Apr 30, 2018

Anybody to review this @debasishg @maasg ?

@debasishg
Copy link
Contributor

I will do it .. sorry for the delay. Terribly busy with other stuff ..

@debasishg debasishg self-assigned this Apr 30, 2018
@joan38
Copy link
Contributor Author

joan38 commented May 1, 2018

Hi @debasishg, no worries. Let me know your thoughts when you have time.

@joan38 joan38 force-pushed the scalafmt branch 3 times, most recently from 5cbc1c5 to 4f450a0 Compare May 1, 2018 17:08
@debasishg debasishg merged commit e0c0f68 into lightbend:develop May 3, 2018
@joan38 joan38 deleted the scalafmt branch May 3, 2018 06:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants