scala-steward-org / scala-steward

:robot: A bot that helps you keep your projects up-to-date
Apache License 2.0
1.15k stars 502 forks source link

scala-steward doesn't feel an old version of Scala Native at wired formating #2600

Open catap opened 2 years ago

catap commented 2 years ago

I have a repo https://github.com/kcrypt/scala-sha where scala-steward doesn't feel that Scala-Native need to be updated.

Probably because it's a formatting which was bit wired:

val scalaJSVersion = Option(System.getenv("SCALAJS_VERSION")).getOrElse("1.10.0")
val scalaNativeJSVersion = Option(System.getenv("SCALANATIVE_VERSION"))
  .getOrElse("0.4.2")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)
addSbtPlugin("org.scala-native" % "sbt-scala-native" % scalaNativeJSVersion)

anyway, it was produced by scala-fmt.

exoego commented 2 years ago

Yes, it is due to format, I think. Current implementation requires artifact name and version number in a single line.

catap commented 2 years ago

@exoego and here the issue: scala-fmt creates such formating.

Do you think it should be fixed on scala-steward size? or on scala-fmt?