Detects block breaking conditionals. Useful for developers who find want to avoid conditionals to cross block boundaries. (available since 2.5.0)

Configuration

{
    "type": "BlockBreakingConditional",
    "props": {
        "severity": "INFO"
    }
}

Invalid

#if js
    if (true) {
#end
        trace(data);
#if js
    }
#end