Hi,
Reasonably new to Checkstyle. I hoped that this might be a standard rule, which it might be, but if-so I can't find it!
Is it possible to forbid line containing only whitespace characters? Or especially only spaces and tabs, since these are most-commonly left on lines by some editors as remnant indentation.
In other words, forbid lines matching ^[\s\t]+$ (or "^[\\s\\t]+$" as a Java regex string).
Maybe there is a way that could be added as a regex.
How are others dealing with this - don't use Checkstyle to police empty-lines, or don't enforce anything about lines containing only whitespace?
Thanks
Brett