Skip to content

Commit

Permalink
alerts-server: integrate with scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
qaemma committed Oct 7, 2018
1 parent 586474b commit ede23c2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions alerts-server/.scalafmt.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
project.git = true

maxColumn = 120
docstrings = JavaDoc

continuationIndent.callSite=4
continuationIndent.defnSite=4

align=none
2 changes: 2 additions & 0 deletions alerts-server/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ scalacOptions ++= Seq(
"-Ywarn-unused-import"
)

scalafmtOnCompile in ThisBuild := true
scalafmtTestOnCompile in ThisBuild := true

resolvers += "jitpack" at "https://jitpack.io"

Expand Down
2 changes: 2 additions & 0 deletions alerts-server/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
addSbtPlugin("com.codacy" % "sbt-codacy-coverage" % "1.3.10")

addSbtPlugin("org.duhemm" % "sbt-errors-summary" % "0.6.0")

addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.15")

0 comments on commit ede23c2

Please sign in to comment.