-
Notifications
You must be signed in to change notification settings - Fork 2
Scala Configuration
moznion edited this page Apr 22, 2020
·
5 revisions
Scala formatter configuration.
import net.moznion.sbt.spotless.config._
lazy val root = (project in file("."))
.settings(
name := "Example",
spotlessScala := ScalaConfig(
scalafmt = ScalafmtConfig(),
),
)
spotlessScala
: ScalaConfig
This configuration accepts to embed Formatter Common Configuration.
*.scala
files that are under the project source directory.
Default Value: no value
The formatter configuration for Scalafmt.
scalafmt = ScalafmtConfig(
version = null,
style = null,
)
default value: depends on dependent Spotless version
The version of Scalafmt.
default value: empty
Configuration file for Scalafmt.