-
Notifications
You must be signed in to change notification settings - Fork 16
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 lint #86
base: master
Are you sure you want to change the base?
scalafmt lint #86
Conversation
Adds make lint-scala command, used by travis Signed-off-by: Carlos Martín <carlos.martin.sanchez@gmail.com>
Thank you @carlosms for breaking the changes down to smaller PRs! As expected, CI now fails on lint.
👍 for consistent autoformatting, but as for linting - I never used Let me investigate a bit more and get back to you soon. |
@bzz if we add to build.sbt the following: It will show the diffs, like this:
Let me know if that's a good enough solution and I'll push the change. |
Ok, there is a relevant discussion about applying http://docs.scala-lang.org/style/ with scalafmt and seems like people manage to adjust it quite well - please, give me some more time to experiment with it. Meanwhile +1 for adding a flag to linter that reports violations better. |
Signed-off-by: Carlos Martín <carlos.martin.sanchez@gmail.com>
Change pushed. You can see the new output here. |
Partially replaces #74, see #74 (comment).
Adds a new
make lint-scala
command that uses scalafmt. Travis uses this new command to replace Scalastyle.