Restricts nested for blocks to a specified depth (default = 1).

Configuration

{
    "type": "NestedForDepth",
    "props": {
        "severity": "ERROR",
        "max": 1
    }
}