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

Automated code formatting with scalafmt #262

Open
tovbinm opened this issue Apr 3, 2019 · 0 comments
Open

Automated code formatting with scalafmt #262

tovbinm opened this issue Apr 3, 2019 · 0 comments

Comments

@tovbinm
Copy link
Collaborator

tovbinm commented Apr 3, 2019

Problem
Currently we do not enforce much of the coding style, except some of the Scalastyle plugin checks (which are quite annoying).

Solution
Replace Scalastyle with Scalafmt applied with Gradle plugin which would reformat our code based on the config at compile time.

A recommended approach would be to start by generating scalafmt.conf based of our current code style using scalaunfmt.

Alternatives
Keep using Scalastyle?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant