A discriminated union is made up of more than a configurable number of lines.
The larger a discriminated union becomes the more complex it becomes, it also indicates that all the items may not be related.
Extract code out into smaller composed discriminated unions.
{
"maxLinesInUnion": {
"enabled": false,
"config": {
"maxLines": 500
}
}
}