Requires space(s) before block statements (for loops, control structures).
Type: Boolean
or Integer
Values:
true
require at least a single spaceInteger
require at least specified number of spaces"requireSpaceBeforeBlockStatements": 1
if (cond) {
foo();
} else {
bar();
}
for (var e in elements) {
bar(e);
}
while (cond) {
foo();
}
if (cond){
foo();
} else{
bar();
}
for (var e in elements){
bar(e);
}
while (cond){
foo();
}