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(";") +)