mirror of https://github.com/sbt/sbt.git
29 lines
903 B
Plaintext
29 lines
903 B
Plaintext
version = 3.8.3
|
|
runner.dialect = scala3
|
|
|
|
maxColumn = 100
|
|
project.git = true
|
|
project.excludeFilters = [ "\\Wsbt-test\\W", "\\Winput_sources\\W", "\\Wcontraband-scala\\W" ]
|
|
lineEndings = preserve
|
|
|
|
# https://docs.scala-lang.org/style/scaladoc.html recommends the JavaDoc style.
|
|
# scala/scala is written that way too https://github.com/scala/scala/blob/v2.12.2/src/library/scala/Predef.scala
|
|
docstrings.style = Asterisk
|
|
docstrings.wrap = false
|
|
|
|
# This also seems more idiomatic to include whitespace in import x.{ yyy }
|
|
spaces.inImportCurlyBraces = true
|
|
|
|
# This is more idiomatic Scala.
|
|
# https://docs.scala-lang.org/style/indentation.html#methods-with-numerous-arguments
|
|
align.openParenCallSite = false
|
|
align.openParenDefnSite = false
|
|
|
|
# For better code clarity
|
|
danglingParentheses.preset = true
|
|
|
|
trailingCommas = preserve
|
|
|
|
rewrite.scala3.convertToNewSyntax = true
|
|
rewrite.scala3.newSyntax.control = false
|