Skip to content

Commit 4608b9c

Browse files
committed
Use "scalafmt" to enforce code styling
1 parent 364eba2 commit 4608b9c

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.scalafmt.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version = 2.4.2

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
# scala-tutorials
1+
# scala-tutorials
2+
3+
# Code fomatting
4+
5+
Before creating a PR, make sure the code is correctly formatted running `sbt scalafmt`.

project/plugins.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.2")

0 commit comments

Comments
 (0)