scalameta / sbt-scalafmt   2.5.3

Apache License 2.0 Website GitHub

sbt plugin for Scalafmt

Scala versions: 3.x 2.12
sbt plugins: 2.0.0-M3 1.x

sbt-scalafmt

Join the chat at https://gitter.im/scalameta/scalafmt Join the discord chat Latest version

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

Installation

Add following line into project/plugins.sbt (latest version is available next to the sbt-scalafmt 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

JDK compatibility

JDK Release
8 Up to v2.5.1
11+ latest

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

Team

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

An up-to-date list of contributors is available here: https://github.com/scalameta/sbt-scalafmt/graphs/contributors

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