Closed
Description
TypeScript Version: 2.5.2
Code
Format the following
switch (foo) {
case 'bar':
break;
}
Expected behavior:
Keep it the same.
Actual behavior:
case
is indented.
switch (foo) {
case 'bar':
break;
}
This becomes more problematic when used with tslint or javascript code with eslint, because on different systems we can see one winning over the other randomly i.e. sometimes the case is indented, sometimes it's not (eslint rule says do not indent).