You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the short term would a note about adding the scalafixScalaBinaryVersion to build.sbt in ExplicitResultTypesdocumentation be of any use?
Eg.
The ExplicitResultTypes rule needs to run with the same Scala binary version as the one used to compile target sources. Please add the following scalafixScalaBinaryVersion to your build.sbt file:
scalafixScalaBinaryVersion := scalaBinaryVersion.value //supported versions are 2.11, 2.12, 2.13
I stumbled across this issue recently and would have found some documentation about configuring scalafixScalaBinaryVersion at the location of the rule configuration helpful.
In the short term would a note about adding the scalafixScalaBinaryVersion to build.sbt in ExplicitResultTypes documentation be of any use?
Feel free to open a PR to update the docs. Remember this page is about scalafix, so your message should mention that this hint is for sbt only.
I am not familiar with community clients, but it looks like the scala binary version is not configurable for the mill and the maven ones (to be confirmed):
For ExplicitResultTypes to work out of the box, it would better to set by default
Current blockers:
The text was updated successfully, but these errors were encountered: