* Remove whitespace generation and rely on default printing Changes to printing: * Add newline after last empty SwitchCase * Add newlines around block comments if they are non-flow comments or contain newlines * Fix a few more fixtures
7 lines
115 B
JavaScript
7 lines
115 B
JavaScript
function test() {
|
|
// Leading if statement
|
|
if (cond) {
|
|
print("hello");
|
|
} // Trailing if-block statement
|
|
|
|
} |