* 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
22 lines
313 B
JavaScript
22 lines
313 B
JavaScript
var test = {
|
|
/**
|
|
* Before bracket init
|
|
*/
|
|
["a"]: "1",
|
|
[
|
|
/*
|
|
* Inside bracket init
|
|
*/
|
|
"b"]: "2",
|
|
["c"
|
|
/*
|
|
* After bracket key
|
|
*/
|
|
]: "3",
|
|
// Before bracket, line comment
|
|
["d"]: "4",
|
|
[// Inside bracket, line comment
|
|
"e"]: "5",
|
|
["f" // After bracket, line comment
|
|
]: "6"
|
|
}; |