A warning for a code block with no parent if/for/while etc is valid, yes. You can't give warnings for bad indentation, unless you want to program in COBOL.
A warning for a code block with no parent if/for/while etc is valid, yes. You can't give warnings for bad indentation, unless you want to program in COBOL.