scalameta / sbt-scalafmt   2.5.2

Apache License 2.0 Website GitHub

sbt plugin for Scalafmt

Scala versions: 2.12
sbt plugins: 1.0


Join the chat at Join the discord chat Maven Central

This is the repository for the Scalafmt sbt plugin, for the main Scalafmt repository see scalameta/scalafmt.


Add following line into project/plugins.sbt (latest version is available next to the maven central badge above)

addSbtPlugin("org.scalameta" % "sbt-scalafmt" % PLUGIN_VERSION)

If the above does not work, in enterprise environments, try:

libraryDependencies += "org.scalameta" % "sbt-scalafmt_2.12_1.0" % PLUGIN_VERSION

Head over to the user docs for instructions on how to install and use scalafmt.


The current maintainers (people who can merge pull requests) are:

An up-to-date list of contributors is available here:

We strive to offer a welcoming environment to learn, teach and contribute.