chuanxshi / javascript-patterns

JavaScript Design Patterns

Home Page:http://shichuan.github.io/javascript-patterns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

switch pattern indents `case`; breaks its rule #1

xhroot opened this issue · comments

switch pattern case statements are indented.
expect to be aligned with switch declaration.

* 1. Aligning each `case` with `switch`

...

switch (inspect_me) {
    case 0:
        result = "zero";