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

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


None yet
3 participants

Steps to reproduce:

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

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 commented Apr 5, 2013

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


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