VSCodeBeautify icon indicating copy to clipboard operation
VSCodeBeautify copied to clipboard

Is there a configuration to align `case` with `switch`?

Open z0gSh1u opened this issue 5 years ago • 0 comments

  • beautify Version: 1.5.0

.jsbeautifyrc

// no special settings.

The formatted case statement has an indentation to switch statement. However, this conflicts with ESLint indent check.

Expected results

switch (something) {
case 'a':
  break
case 'b':
  break
}

Actual results

switch (something) {
  case 'a':
    break
  case 'b':
    break
}

z0gSh1u avatar May 02 '20 19:05 z0gSh1u