Disable false warning "possible missing interpolator"

If there's a way to compose the string from its parts you could do something like this.

override def productPrefix = "Foo$" + "Bar"

You could also quiet the "missing interpolator" warning by actually invoking the interpolator, but escaping the $.

override def productPrefix = f"Foo$$Bar"

The warning is induced by -Xlint. The specific linter about the supposedly missing interpolator can be disabled by giving the scalac command line option as

-Xlint:_,-missing-interpolator

The underscore (_) is for "everything" and the -missing-interpolator is for "except the missing interpolator warning".