We added scalafmt, and I have not done much coding since that time. Now
that I have, I hate it.
It turns this:
val optURI =
Misc.getResourceRelativeOption(sysId, baseURI) orElse
Misc.getResourceRelativeOption(removeInitialUpwardPathSteps(sysId), baseURI)
into:
val optURI =
Misc
.getResourceRelativeOption(sysId, baseURI)
.orElse(
Misc.getResourceRelativeOption(removeInitialUpwardPathSteps(sysId),
baseURI)
)
This is awful. And you can't override it, because if your code doesn't
conform, it fails a format check.
I suggest we just turn off this scalafmt stuff.