From a53d219051efbf76ea072aa955335402dabb59b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20ALLART?= Date: Wed, 16 Nov 2022 18:36:01 +0100 Subject: [PATCH] add support of scalafmt --- .scalafmt.conf | 5 +++++ project/plugins.sbt | 1 + 2 files changed, 6 insertions(+) create mode 100644 .scalafmt.conf diff --git a/.scalafmt.conf b/.scalafmt.conf new file mode 100644 index 0000000..92dc1fc --- /dev/null +++ b/.scalafmt.conf @@ -0,0 +1,5 @@ +version = 3.6.0 +runner.dialect = scala212 +align.preset = some +maxColumn = 120 +docstrings.wrap = no diff --git a/project/plugins.sbt b/project/plugins.sbt index e69de29..83adafa 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -0,0 +1 @@ +addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")