There's
```
// format: off
...
// format: on
```

https://scalameta.org/scalafmt/docs/configuration.html#-format-off

On Fri, Jun 23, 2023 at 9:20 AM Steve Lawrence <[email protected]> wrote:

> scalafmt as a lot of configurability. Maybe there are some options we
> could tweak?
>
> On 2023-06-23 12:13 PM, Mike Beckerle wrote:
> > 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.
> >
>
>

Reply via email to