Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit 37c9d7c

Browse files
committed
Introduce Scalafmt
1 parent 0927722 commit 37c9d7c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.scalafmt.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
maxColumn = 120
2+
continuationIndent.defnSite = 2
3+
assumeStandardLibraryStripMargin = true
4+
danglingParentheses = true
5+
rewrite.rules = [SortImports, RedundantBraces, RedundantParens, SortModifiers]

project/plugins.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
1+
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
2+
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.5.0")

0 commit comments

Comments
 (0)