indents(ecma): Fix switch default indent

This commit is contained in:
Raymond Ha 2022-12-06 22:08:41 -08:00 committed by Stephan Seitz
parent 440401c506
commit 6c4772f7b6
3 changed files with 10 additions and 0 deletions

View file

@ -11,6 +11,7 @@
(with_statement)
(switch_statement)
(switch_case)
(switch_default)
(import_statement)
(if_statement)
(try_statement)

View file

@ -12,6 +12,7 @@
(return_statement)
(statement_block)
(switch_case)
(switch_default)
(switch_statement)
(template_substitution)
(ternary_expression)

View file

@ -0,0 +1,8 @@
switch (variable) {
case 'case1':
foo();
break;
default:
bar();
}