diff --git a/scalafix-rules/src/main/scala/scalafix/internal/rule/DisableSyntaxConfig.scala b/scalafix-rules/src/main/scala/scalafix/internal/rule/DisableSyntaxConfig.scala index 25159e422..2c342218f 100644 --- a/scalafix-rules/src/main/scala/scalafix/internal/rule/DisableSyntaxConfig.scala +++ b/scalafix-rules/src/main/scala/scalafix/internal/rule/DisableSyntaxConfig.scala @@ -11,6 +11,7 @@ import metaconfig.Configured import metaconfig.annotation.Description import metaconfig.annotation.ExampleValue import metaconfig.annotation.Hidden +import pprint.TPrint import scalafix.config.CustomMessage case class DisableSyntaxConfig( @@ -86,6 +87,8 @@ case class DisableSyntaxConfig( } object DisableSyntaxConfig { + implicit val tprintPattern: TPrint[List[CustomMessage[Pattern]]] = + TPrint.literal("List[Regex]") val default: DisableSyntaxConfig = DisableSyntaxConfig() implicit val surface: Surface[DisableSyntaxConfig] = generic.deriveSurface[DisableSyntaxConfig]