Skip to content

Commit d0513ad

Browse files
committed
use scalafmt as the code formatter, add sbt-updates
1 parent c93a4bc commit d0513ad

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.scalafmt.conf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
project.git = true
2+
3+
maxColumn = 120
4+
docstrings = JavaDoc
5+
6+
align.tokens = ["%", "%%", {code = "=>", owner = "Case"}]
7+
align.openParenCallSite = false
8+
align.openParenDefnSite = false
9+
continuationIndent.callSite = 2
10+
continuationIndent.defnSite = 2
11+
danglingParentheses = true

project/plugins.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.2")
1+
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.5.0")
22
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.0")
3-
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.3")
4-
addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.2.0")
3+
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.4")
4+
addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.2.0")

0 commit comments

Comments
 (0)