https://github.com/scalameta/sbt-scalafmt
sbt plugin for Scalafmt
https://github.com/scalameta/sbt-scalafmt
Last synced: 8 months ago
JSON representation
sbt plugin for Scalafmt
- Host: GitHub
- URL: https://github.com/scalameta/sbt-scalafmt
- Owner: scalameta
- License: apache-2.0
- Created: 2018-06-10T21:10:13.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T18:05:05.000Z (over 1 year ago)
- Last Synced: 2024-04-14T13:06:24.285Z (over 1 year ago)
- Language: Scala
- Homepage: https://scalameta.org/scalafmt/
- Size: 432 KB
- Stars: 186
- Watchers: 9
- Forks: 42
- Open Issues: 5
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- fucking-awesome-scala - sbt-scalafmt - scalafmt)  (Table of Contents / Sbt plugins)
- awesome-scala - sbt-scalafmt ★ 37 ⧗ 6 - sbt plugin for Scalafmt [https://scalameta.org/scalafmt/](https://scalameta.org/scalafmt/) (Sbt plugins)
- awesome-scala - sbt-scalafmt - scalafmt)  (Table of Contents / Sbt plugins)
README
# sbt-scalafmt
[](https://gitter.im/scalameta/scalafmt?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://discordapp.com/channels/632642981228314653/632665341864181780)
[](https://index.scala-lang.org/scalameta/sbt-scalafmt)
This is the repository for the Scalafmt sbt plugin, for the main Scalafmt
repository see [scalameta/scalafmt](https://github.com/scalameta/scalafmt/).
### Installation
Add following line into `project/plugins.sbt` (latest version is available next to the
**sbt-scalafmt** badge above)
```sbt
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % PLUGIN_VERSION)
```
If the above does not work, in enterprise environments, try:
```sbt
libraryDependencies += "org.scalameta" % "sbt-scalafmt_2.12_1.0" % PLUGIN_VERSION
```
#### JDK compatibility
| JDK | Release |
| ---- | ---------------|
| 8 | Up to `v2.5.1` |
| 11+ | _latest_ |
### [User documentation](https://scalameta.org/scalafmt/)
Head over to [the user docs](https://scalameta.org/scalafmt/docs/installation.html#sbt) for instructions on how to install and use scalafmt.
### Team
The current maintainers (people who can merge pull requests) are:
* Mikhail Chugunkov [`@poslegm`](https://github.com/poslegm)
* Ólafur Páll Geirsson - [`@olafurpg`](https://github.com/olafurpg)
* Rikito Taniguchi [`@tanishiking`](https://github.com/tanishiking)
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.