jscs-dev/gulp-jscs

Update jscs lib

Closed this issue · 1 comments

Hi all,
just curious about supporting of new JSCS version which supports more new ES2015/ES6 features, like destructuring.

For example,

function someFn(a, b, {c = 1, d = 2} = {}) {
    // some code
}

Current version of JSCS (1.12) which gulp-jscs depends on, throws a ParseError because Esprima parser doesn't support syntax like this.

Maybe there is some workaround on this?

Thanks so much

Even 1.13.1 version doesn't support new esprima major version. Move this question to node-jscs team.