no-blank-line-before-single-return
added in: 1.2.0 style
Disallows empty blank lines before a return inside a code block that only contains a return statement.
Example
Bad:
// LINT
if ( ... ) {
return;
}
Good:
if ( ... ) {
return;
}
if ( ... ) {
// TODO(developername): need to implement.
return;
}