Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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

@legaev-stas
Copy link

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.

@mitermayer
Copy link
Contributor

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

@vkadam
Copy link
Owner

vkadam commented Apr 5, 2013

Fixed with version 0.1.7

@vkadam vkadam closed this as completed Apr 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants