mirror of https://github.com/sbt/sbt.git
Set `lineEndings = preserve` in .scalafmt.conf
On windows, scalafmt was rewriting '\n' with '\r\n'.
This commit is contained in:
parent
ffd30a7e33
commit
46c7df50f7
|
|
@ -3,6 +3,7 @@ edition = 2019-10
|
||||||
maxColumn = 100
|
maxColumn = 100
|
||||||
project.git = true
|
project.git = true
|
||||||
project.excludeFilters = [ "\\Wsbt-test\\W", "\\Winput_sources\\W", "\\Wcontraband-scala\\W" ]
|
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.
|
# 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
|
# scala/scala is written that way too https://github.com/scala/scala/blob/v2.12.2/src/library/scala/Predef.scala
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue