diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000000..89adb589bcd3 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,7 @@ +Contributing guidelines +== + +Format :clap: your :clap: sources :clap: before :clap: pushing + + sbt fmt + diff --git a/build.sbt b/build.sbt index 9ffc5e582072..53c6d8eb4fb9 100644 --- a/build.sbt +++ b/build.sbt @@ -21,6 +21,9 @@ lazy val sonataCredentials = for { credentials in ThisBuild ++= sonataCredentials.toSeq +addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt") +addCommandAlias("check", "all scalafmtSbtCheck scalafmtCheck test:scalafmtCheck") + lazy val root = project .in(file(".")) .settings(