Incorrect formatting of variable declaration type: One Statement, Many Variables
legaev-stas opened this issue · comments
Stanislav Lehaiev (Stas Lehaiev) commented
Steps to reproduce:
- 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 Reis commented
@vkadam @legaev-stas this pull request solve this issue:
#9
Vishal Kadam commented
Fixed with version 0.1.7