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

Update jscs lib #86

Closed
Neurostep opened this issue Jul 17, 2015 · 1 comment
Closed

Update jscs lib #86

Neurostep opened this issue Jul 17, 2015 · 1 comment

Comments

@Neurostep
Copy link

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

@Neurostep Neurostep mentioned this issue Jul 17, 2015
@Neurostep
Copy link
Author

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

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

Successfully merging a pull request may close this issue.

1 participant