-
Notifications
You must be signed in to change notification settings - Fork 505
Closed
Labels
Description
Errors in scalafmt configuration files cause an exception in spotless that does does not contain any information about what went wrong. Scalafmt provides this information and this is a request to bubble it up in spotless.
For example, a scalafmt configuration that contains an invalid field will result in an exception in spotless like this:
java.lang.reflect.InvocationTargetException
...
Caused by: java.util.NoSuchElementException: Either.right.value on Left
at scala.util.Either$RightProjection.get(Either.scala:453
...