From 6a3aeddf38d2ff33d9c9afa7b2f4a47e3b1f77ce Mon Sep 17 00:00:00 2001 From: ihostage Date: Wed, 26 Oct 2022 14:18:02 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20Created=20local=20'common.sbt'?= =?UTF-8?q?=20from=20remote=20'sbt/common.sbt'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.sbt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 common.sbt diff --git a/common.sbt b/common.sbt new file mode 100644 index 00000000..fd83e621 --- /dev/null +++ b/common.sbt @@ -0,0 +1,21 @@ +// Copyright (C) from 2022 The Play Framework Contributors , 2011-2021 Lightbend Inc. + +addCommandAlias( + "formatCode", + List( + "headerCreateAll", + "scalafmtSbt", + "scalafmtAll", + "javafmtAll" + ).mkString(";") +) + +addCommandAlias( + "validateCode", + List( + "headerCheckAll", + "scalafmtSbtCheck", + "scalafmtCheckAll", + "javafmtCheckAll", + ).mkString(";") +)