Improve indentation of variable declarations

Before this commit, continuation lines of multi-line values in variable
declaration initializers were aligned with the variable name:

  let foo = {
        a: 5,
        b: 6
      };

This was highly irregular, maintenance intensive, and made declarations
look different from assignments.

This commit changes the indentation to be more regular and similar to
assignments:

  let foo = {
    a: 5,
    b: 6
  };
redux
David Majda 8 years ago
parent b5eb1a0ec4
commit 7ca229a432
Loading…
Cancel
Save