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

Use scalafmt for unified code style #33

Open
greenhat opened this issue Jan 29, 2020 · 0 comments
Open

Use scalafmt for unified code style #33

greenhat opened this issue Jan 29, 2020 · 0 comments

Comments

@greenhat
Copy link
Member

Use http://github.com/ergoplatform/explorer-backend/blob/bc041de4e3a9c0008b7b2d8121c7e904c573ba54/.scalafmt.conf#L1-L1
as an example.

Add addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.1") to plugins.sbt and add sbt scalafmtCheck to CI job to break the build on unformatted code.

Emphasize proper IDEA settings to work along with scalafmt.

https://scalameta.org/scalafmt/docs/installation.html

@greenhat greenhat self-assigned this Jan 29, 2020
@greenhat greenhat removed their assignment Oct 8, 2021
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

No branches or pull requests

1 participant