From dd36f97a82746cec0b25b94651581fe799e24579 Mon Sep 17 00:00:00 2001 From: Jiuyang Liu Date: Mon, 10 Jan 2022 10:37:17 -0800 Subject: Add scalafmt config, SBT plugin, and mill support Can be run in two ways: * sbt scalaFmtAll * mill mill.scalalib.scalafmt.ScalafmtModule/reformatAll __.sources --- project/plugins.sbt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'project') diff --git a/project/plugins.sbt b/project/plugins.sbt index 8c19290c..f09e1a1b 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -24,5 +24,7 @@ addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.0.1") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10") +addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6") + // From FIRRTL for building from source addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.33") -- cgit v1.2.3