Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Incorrect formatting of variable declaration type: One Statement, Many Variables #7

Closed
legaev-stas opened this Issue Mar 20, 2013 · 2 comments

Comments

Projects
None yet
3 participants

Steps to reproduce:

  1. try to validate this code:
    function foo(){
    var a,
    b,
    c
    }

Expected result:
Formater should add one indent level for each variable after line with statement in multiple variable declaration. Like on http://jsbeautifier.org/

Actual result:
Variable declarations don't have indent after line with statement.

Contributor

mitermayer commented Apr 5, 2013

@vkadam @legaev-stas this pull request solve this issue:
#9

Owner

vkadam commented Apr 5, 2013

Fixed with version 0.1.7

@vkadam vkadam closed this Apr 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment